Hi!
This is first of five patches implementing generic ATA host chips
(U)DMA auto-tuning... against 2.5.24 but should also apply cleanly
to 2.5.24 + Martin's ide-clean-94 patch...
Lot of duplicated code is removed and simple, coherent scheme is provided...
diffstat for 5 patches:
35 files changed, 338 insertions(+), 825 deletions(-)
- add int 'modes_map' and flag 'no_atapi_autodma' to
struct ata_channel, initialise them in *_init_channel()
functions
- add XFER_UDMA_ALL and XFER_UDMA_80W defines to ata-timing.h
- convert *_ratemask() functions to *_modes_map(),
mark them with __init
affected drivers: alim15x3.c, cmd64x.c, hpt366.c,
pdc202xx.c, serverworks.c, sis5513.c
- split aec62xx_udma_setup() to aec62xx_udma_setup()
and aec62xx_modes_map()
- move eighty_ninty_three(drive) check from *_ratemask()
to driver specific config_chipset_for_dma()
--
Bartlomiej Zolnierkiewicz