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

From: Bartlomiej Zolnierkiewicz (B.Zolnierkiewicz@elka.pw.edu.pl)
Date: Tue Jun 25 2002 - 14:13:54 EST


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


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:10 EST