linux/drivers/ide/pci
Bartlomiej Zolnierkiewicz 7569e8dc22 ide: add ide_use_fast_pio() helper (v3)
* add ide_use_fast_pio() helper for use by host drivers

* add DMA capability and hwif->autodma checks to ide_use_dma()

  - au1xxx-ide/it8213/it821x drivers didn't check for (id->capability & 1)

    [ for the IT8211/2 in SMART mode this check shouldn't be made but since
      in it821x_fixups() we set DMA bit explicitly:

               if(strstr(id->model, "Integrated Technology Express")) {
                       /* In raid mode the ident block is slightly buggy
                          We need to set the bits so that the IDE layer knows
                          LBA28. LBA48 and DMA ar valid */
                       id->capability |= 3;            /* LBA28, DMA */

       we are better off using generic helper if we can ]

  - ide-cris driver didn't set ->autodma

    [ before the patch hwif->autodma was only checked in the chipset specific
      hwif->ide_dma_check implementations, for ide-cris it is cris_dma_check()
      function so there no behavior change here ]

v2:
* updated patch description (thanks to Alan Cox for the feedback)

v3:
* updated for scc_pata driver

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-02-17 02:40:25 +01:00
..
Makefile IDE Driver for Delkin/Lexar/etc.. cardbus CF adapter 2007-02-07 18:19:32 +01:00
aec62xx.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
alim15x3.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
amd74xx.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
atiixp.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
cmd64x.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
cmd640.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cs5520.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
cs5530.c cs5530: small cleanup 2007-02-17 02:40:23 +01:00
cs5535.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
cy82c693.c ide: remove ide_pci_device_t tables with only one entry 2007-02-17 02:40:24 +01:00
delkin_cb.c IDE Driver for Delkin/Lexar/etc.. cardbus CF adapter 2007-02-07 18:19:32 +01:00
generic.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
hpt34x.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
hpt366.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
it821x.c [PATCH] it821x: fix ide dma setup bug 2006-07-28 09:02:17 +02:00
it8213.c ide: it8213 IDE driver update (version 2) 2007-02-07 18:19:26 +01:00
jmicron.c atiixp/jmicron/triflex: fix PIO fallback 2007-02-17 02:40:20 +01:00
ns87415.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
opti621.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
pdc202xx_new.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
pdc202xx_old.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
piix.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
rz1000.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
sc1200.c ide: add missing __init tags to IDE PCI host drivers 2007-01-27 13:46:56 +01:00
serverworks.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
sgiioc4.c ide: remove ide_pci_device_t tables with only one entry 2007-02-17 02:40:24 +01:00
siimage.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
sis5513.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
sl82c105.c sl82c105: DMA support fixes 2007-02-17 02:40:22 +01:00
slc90e66.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
tc86c001.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
triflex.c ide: add ide_use_fast_pio() helper (v3) 2007-02-17 02:40:25 +01:00
trm290.c trm290: remove redundant CONFIG_BLK_DEV_IDEDMA #ifdef-s 2007-02-17 02:40:23 +01:00
via82cxxx.c [PATCH] via82cxxx: fix typo ("cx7000" should be corrected to "cx700") 2007-02-01 16:24:03 -08:00