ata: Add support for the MPC52xx ATA controller using libata
PATCH 1/1 ata: Add support for the MPC52xx ATA controller using libata
This patch adds libata support for the Freescale MPC5200 IDE controller.
---
Hello Jeff,
This patch has been posted a few weeks ago and didn't receive major critics so, If it's ok by you I'd like to see it merged for 2.6.20.
In the mean time it has been tested on other platforms like lite5200B and Efika and reported to work fine.
Sylvain
--- drivers/ata/Kconfig | 9 + drivers/ata/Makefile | 1 drivers/ata/pata_mpc52xx.c | 510 ++++++++++++++++++++++++++++++++++++++++++++ drivers/ata/pata_mpc52xx.h | 107 +++++++++ 4 files changed, 627 insertions(+), 0 deletions(-)
drivers/ata/Kconfig +9 -0
@@ -328,6 +328,15 @@ config PATA_TRIFLEX If unsure, say N. +config PATA_MPC52xx + tristate "Freescale MPC52xx SoC internal IDE" + depends on PPC_MPC52xx + help + This option enables support for integrated IDE controller + of the Freescale MPC52xx SoC. + + 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_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_MPC52xx) += pata_mpc52xx.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_mpc52xx.c new file +510 -0
510 lines not on this page · raw message
drivers/ata/pata_mpc52xx.h new file +107 -0
107 lines not on this page · raw message
Signature · 1 line
1.4.2
Quoted 2 lines · On Mon, 04 Dec 2006 09:15:10 +0100 Sylvain Munaut <[email protected]> wrote:
This patch adds libata support for the Freescale MPC5200 IDE controller.
nit timings to PIO0 */urce(op->node, 0, &res_mem);
Quoted 1 line
Quoted 4 lines · Sylvain Munaut
This patch adds libata support for the Freescale MPC5200 IDE controller.
Signed-off-by Sylvain Munaut <[email protected]>
ACK patch, but does not apply to current #upstream
PATCH 1/1 ata: Add support for the MPC52xx ATA controller using libata
In reply to Sylvain MunautThis patch adds initial libata support for the Freescale MPC5200 integrated IDE controller.
---
Sorry about the previous patch, I didn't think of using #upstream as a base.
--- drivers/ata/Kconfig | 9 + drivers/ata/Makefile | 1 drivers/ata/pata_mpc52xx.c | 510 ++++++++++++++++++++++++++++++++++++++++++++ drivers/ata/pata_mpc52xx.h | 107 +++++++++ 4 files changed, 627 insertions(+), 0 deletions(-)
drivers/ata/Kconfig +9 -0
@@ -337,6 +337,15 @@ config PATA_MARVELL If unsure, say N. +config PATA_MPC52xx + tristate "Freescale MPC52xx SoC internal IDE" + depends on PPC_MPC52xx + help + This option enables support for integrated IDE controller + of the Freescale MPC52xx SoC. + + 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_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_MPC52xx) += pata_mpc52xx.o obj-$(CONFIG_PATA_MARVELL) += pata_marvell.o obj-$(CONFIG_PATA_MPIIX) += pata_mpiix.o obj-$(CONFIG_PATA_OLDPIIX) += pata_oldpiix.o
drivers/ata/pata_mpc52xx.c new file +510 -0
510 lines not on this page · raw message
drivers/ata/pata_mpc52xx.h new file +107 -0
107 lines not on this page · raw message
Signature · 1 line
1.4.2
Quoted 4 lines · Sylvain Munaut
This patch adds initial libata support for the Freescale MPC5200 integrated IDE controller.
Signed-off-by Sylvain Munaut <[email protected]>
ACK, with one final revision request: please kill the header, and just add that stuff to the top of the .c file.
Resend and I'll apply swiftly :)
PATCH 1/1 libata: Add support for the MPC52xx ATA controller
This patch adds initial libata support for the Freescale MPC5200 integrated IDE controller.
---
Hi Jeff,
There you go ;) Hopefully this one is the good one.
Sylvain
--- drivers/ata/Kconfig | 9 + drivers/ata/Makefile | 1 drivers/ata/pata_mpc52xx.c | 563 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 573 insertions(+), 0 deletions(-)
drivers/ata/Kconfig +9 -0
@@ -337,6 +337,15 @@ config PATA_MARVELL If unsure, say N. +config PATA_MPC52xx + tristate "Freescale MPC52xx SoC internal IDE" + depends on PPC_MPC52xx + help + This option enables support for integrated IDE controller + of the Freescale MPC52xx SoC. + + 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_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_MPC52xx) += pata_mpc52xx.o obj-$(CONFIG_PATA_MARVELL) += pata_marvell.o obj-$(CONFIG_PATA_MPIIX) += pata_mpiix.o obj-$(CONFIG_PATA_OLDPIIX) += pata_oldpiix.o
drivers/ata/pata_mpc52xx.c new file +563 -0
563 lines not on this page · raw message
Signature · 1 line
1.4.2
Jeff Garzik
AppliedRe: [PATCH] libata: Add support for the MPC52xx ATA controller
Quoted 8 lines · Sylvain Munaut
This patch adds initial libata support for the Freescale MPC5200 integrated IDE controller.
Signed-off-by Sylvain Munaut <[email protected]>---
Hi Jeff,There you go ;) Hopefully this one is the good one.
applied, thanks