pata_marvell: Marvell 6101/6145 PATA driver
PATCH 11/12 pata_marvell: Marvell 6101/6145 PATA driver
From: Alan Cox <[email protected]>
This is a legacy mode PATA driver for the 6101/45 and will also drive the SATA ports 1 & 2 in legacy mode as well if desired. Tested and confirmed working by users. The chip supports AHCI type behaviour for SATA and has a more advanced PATA interface as well so this driver will get it working but not get best performance for now.
[[email protected]: build fix, warning fix]
Signed-off-by Alan Cox <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc Tejun Heo <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/ata/Kconfig | 9 + drivers/ata/Makefile | 1 drivers/ata/pata_marvell.c | 219 +++++++++++++++++++++++++++++++++++ 3 files changed, 229 insertions(+)
drivers/ata/Kconfig renamed from drivers/ata/Kconfig~pata_marvell-marvell-6101-6145-pata-driver +9 -0
@@ -341,6 +341,15 @@ config PATA_TRIFLEX If unsure, say N. +config PATA_MARVELL + tristate "Marvell PATA support via legacy mode" + depends on PCI + help + This option enables limited support for the Marvell 88SE6145 ATA + controller. + + If unsure, say N. + config PATA_MPIIX tristate "Intel PATA MPIIX support" depends on PCI
drivers/ata/Makefile renamed from drivers/ata/Makefile~pata_marvell-marvell-6101-6145-pata-driver +1 -0
@@ -38,6 +38,7 @@ obj-$(CONFIG_PATA_NETCELL) += pata_netce obj-$(CONFIG_PATA_NS87410) += pata_ns87410.o obj-$(CONFIG_PATA_OPTI) += pata_opti.o obj-$(CONFIG_PATA_OPTIDMA) += pata_optidma.o +obj-$(CONFIG_PATA_MARVELL) += pata_marvell.o obj-$(CONFIG_PATA_MPIIX) += pata_mpiix.o obj-$(CONFIG_PATA_OLDPIIX) += pata_oldpiix.o obj-$(CONFIG_PATA_PCMCIA) += pata_pcmcia.o
drivers/ata/pata_marvell.c new file +219 -0
219 lines not on this page · raw message
_