[PATCHSET] ata: rework support for PIIX-alike PATA controllers

From: Bartlomiej Zolnierkiewicz
Date: Tue Feb 08 2011 - 07:23:45 EST



Hi,

The following patchset reworks support for PIIX-alike PATA controllers.

The first part rewrites code for programming PIO and MWDMA timings in the
affected host drivers, while also fixing other issues discovered during
the main task. Then the second part adds support for non-Intel PIIX-alike
controllers to ata_piix host driver and removes separate host drivers.

All in all this greatly simplifies the total code needed for all PIIX-alikes
support (~1400 LOC are gone and 5 host drivers are removed) and hopefully
makes it easier to maintain it in the long-term (some drivers already got
slightly out-of-sync with ata_piix host driver, i.e. pata_rdc lacked locking
fixes and Power Management support, both issues are fixed by patchset).

All testing was done using QEMU's PIIX3 controller emulation so any testing
with real EFAR, IT8213, old PIIX, RDC and Radisys R82600 PATA controllers
would be really appreciated..

-- Bartlomiej


The following changes since commit 3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5:

Linux 2.6.37 (2011-01-04 16:50:19 -0800)

are available:

Bartlomiej Zolnierkiewicz (20):
ata_piix: SITRE handling fix
ata_piix: unify code for programming PIO and MWDMA timings
pata_efar: fix register naming used in efar_set_piomode()
pata_efar: unify code for programming PIO and MWDMA timings
pata_efar: always program master_data before slave_data
pata_it8213: fix register naming used in it8213_set_piomode()
pata_it8213: unify code for programming PIO and MWDMA timings
pata_it8213: add UDMA100 and UDMA133 support
pata_oldpiix: unify code for programming PIO and MWDMA timings
pata_radisys: unify code for programming PIO and MWDMA timings
pata_rdc: unify code for programming PIO and MWDMA timings
pata_rdc: parallel scanning needs an extra locking
pata_rdc: add Power Management support
pata_oldpiix: add locking for parallel scanning
pata_oldpiix: enable parallel scan
ata_piix: add EFAR SLC90E66 support
ata_piix: add IT8213 support
ata_piix: add RDC support
ata_piix: add Intel old PIIX support
ata_piix: add Radisys R82600 support

drivers/ata/Kconfig | 5 +
drivers/ata/Makefile | 5 -
drivers/ata/ata_piix.c | 410 +++++++++++++++++++++++++++++++++-----------
drivers/ata/pata_efar.c | 319 ----------------------------------
drivers/ata/pata_it8213.c | 313 ---------------------------------
drivers/ata/pata_oldpiix.c | 289 -------------------------------
drivers/ata/pata_radisys.c | 268 -----------------------------
drivers/ata/pata_rdc.c | 401 -------------------------------------------
8 files changed, 315 insertions(+), 1695 deletions(-)
delete mode 100644 drivers/ata/pata_efar.c
delete mode 100644 drivers/ata/pata_it8213.c
delete mode 100644 drivers/ata/pata_oldpiix.c
delete mode 100644 drivers/ata/pata_radisys.c
delete mode 100644 drivers/ata/pata_rdc.c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/