Subject: [PATCH] 2.5.24: generic ATA PCI auto-dma tuning (2/5)


- add udma_generic_setup() to pcidma.c, which
- equals functionality of driver specific udma_setup()
and config_chipset_for_dma()
- makes use of ch->modes_map, ch->no_atapi_autodma
and ch->speedproc()/tuneproc()
- auto-tunes PIO only if we failed to enable DMA
(PIO auto-tuning is already handled by ch->tuneproc()
call in probe.c, it is controlled separetly of autodma)

- convert aec62xx.c, amd74xx.c, cmd64x.c, hpt34x.c, piix.c,
serverworks.c, sis5513.c and via82cxxx.c to new scheme

- this has nice side effect of teaching aec, amd, piix and via
drivers using DMA blacklist/whitelist

--
Bartlomiej Zolnierkiewicz


Attachments:
ata-hosts-8.diff (19.07 kB)