-
BIG FAIL!Scritto daNon Autenticatoil 2009-08-07 21:07:00.0 alle 2009-08-07 21:07:00.0
static void ide_init(struct device *dev) { uint32_t ide_cfg; printk_spew("cs5536_ide: %s\n", __func__); /* GPIO and IRQ setup are handled in the main chipset code. */ // Enable the channel and Post Write Buffer // NOTE: Only 32-bit writes to the data buffer are allowed when PWB is set ide_cfg = pci_read_config32(dev, IDE_CFG); ide_cfg |= CHANEN | PWB; pci_write_config32(dev, IDE_CFG, ide_cfg); }
-
Re: BIG FAIL!Scritto daNon Autenticatoil 2009-08-07 21:38:00.0 alle 2009-08-07 21:38:00.0
- Scritto da:
>static void ide_init(struct device *dev) > { > uint32_t ide_cfg; > > printk_spew("cs5536_ide: %s\n", __func__); > /* GPIO and IRQ setup are handled in the main > chipset code. > */ > > // Enable the channel and Post Write Buffer > // NOTE: Only 32-bit writes to the data buffer > are allowed when PWB is > set > ide_cfg = pci_read_config32(dev, IDE_CFG); > ide_cfg |= CHANEN | PWB; > pci_write_config32(dev, IDE_CFG, ide_cfg); > }
>
> [img]http://www.forumdeitroll.it/images/emo/rotfl.
non l'ho capita.
a che riga è che dovrei ridere?
-
Re: BIG FAIL!Scritto daNon Autenticatoil 2009-08-07 21:44:00.0 alle 2009-08-07 21:44:00.0
- Scritto da:
>static void ide_init(struct device *dev) > { > uint32_t ide_cfg; > > printk_spew("cs5536_ide: %s\n", __func__); > /* GPIO and IRQ setup are handled in the main > chipset code. > */ > > // Enable the channel and Post Write Buffer > // NOTE: Only 32-bit writes to the data buffer > are allowed when PWB is > set > ide_cfg = pci_read_config32(dev, IDE_CFG); > ide_cfg |= CHANEN | PWB; > pci_write_config32(dev, IDE_CFG, ide_cfg); > }
>
> [img]http://www.forumdeitroll.it/images/emo/rotfl.http://www.hs.fi/talous/artikkeli/Uusi+iPhone+kokosi+kauppojen+edustoille+aiempaa+lyhyemm%C3%A4t+jonot/1135247080174
-
Re: BIG FAIL!Scritto daNon Autenticatoil 2009-08-07 21:45:00.0 alle 2009-08-07 21:45:00.0
- Scritto da:
>static void ide_init(struct device *dev) > { > uint32_t ide_cfg; > > printk_spew("cs5536_ide: %s\n", __func__); > /* GPIO and IRQ setup are handled in the main > chipset code. > */ > > // Enable the channel and Post Write Buffer > // NOTE: Only 32-bit writes to the data buffer > are allowed when PWB is > set > ide_cfg = pci_read_config32(dev, IDE_CFG); > ide_cfg |= CHANEN | PWB; > pci_write_config32(dev, IDE_CFG, ide_cfg); > }
>
>
-