libata: test driver for Marvell PATA
PATCH 1/1 libata: test driver for Marvell PATA
This should drive the Marvell PATA (and first two SATA ports) but I don't have hardware to test so give it a spin. Currently it'll probably clash with the AHCI driver if you are using the SATA ports but if we know this code works for the PATA port that is fixable later on.
Alan
drivers/ata/Kconfig +9 -0
@@ -327,6 +327,15 @@ If unsure, say N. +config PATA_MARVELL + tristate "Marvell PATA support via legacy nmode" + 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 +1 -0
@@ -38,6 +38,7 @@ 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 +210 -0
210 lines not on this page · raw message
Quoted 13 lines · Alan Cox
This should drive the Marvell PATA (and first two SATA ports) but I don't have hardware to test so give it a spin. Currently it'll probably clash with the AHCI driver if you are using the SATA ports but if we know this code works for the PATA port that is fixable later on.
Alan
diff -u --new-file --recursive --exclude-from
/usr/src/excludelinux.vanilla-2.6.18-mm2/drivers/ata/Kconfig linux-2.6.18-mm2/drivers/ata/Kconfig
--- linux.vanilla-2.6.18-mm2/drivers/ata/Kconfig 2006-09-28
14:33:46.000000000 +0100
+++ linux-2.6.18-mm2/drivers/ata/Kconfig 2006-09-29
17:42:31.392428080 +0100
drivers/ata/Kconfig line 331
Quoted 5 lines
drivers/ata/Kconfig +2
-0@@ -327,6 +327,15 @@ If unsure, say N. +config PATA_MARVELL + tristate "Marvell PATA support via legacy nmode"
mode?
Chris
Signature · 3 lines
Chris Boot [email protected] http://www.bootc.net/