ppc32/ide: Add support for MPC52xx on-chip ATA controller
PATCH 1/1 ppc32/ide: Add support for MPC52xx on-chip ATA controller
Hi Bartlomiej,
Hi everyone,
This patch adds support for the integrated IDE controller on the Freescale MPC52xx SoC. It has already been posted on the ppc-embedded mailings list and was tested and reported working by several people.
Could you review it and if it's ok push it upstream ?
Many thanks,
Sylvain
---
ppc32/ide: Add support for MPC52xx on-chip ATA controller
This patch adds initial support for Freescale MPC52xx on-chip ATA controller. It's currently PIO-mode only and all the erratas are not handled since some of them requires hw tricks ...
---
commit f3180ffadd5dddcfa9d11da4f7637e3e907e6aaa tree d9bf294057a0dcdda25ba6c6ea3fcc9748d87e93 parent 67015426ff51ba857b7678a993f4ffd6def1941e author Sylvain Munaut <[email protected]> 1139147442 +0100 committer Sylvain Munaut <[email protected]> 1143312600 +0100
drivers/ide/Kconfig | 4 drivers/ide/Makefile | 1 drivers/ide/ppc/mpc52xx_ide.c | 420 +++++++++++++++++++++++++++++++++++++ drivers/ide/ppc/mpc52xx_ide.h | 129 +++++++++++ drivers/ide/ppc/mpc52xx_ide_iops.c | 151 +++++++++++++ include/linux/ide.h | 2 6 files changed, 706 insertions(+), 1 deletion(-)
---f3180ffadd5dddcfa9d11da4f7637e3e907e6aaa
drivers/ide/Kconfig +4 -0
@@ -962,6 +962,10 @@ config IDE_EXT_DIRECT endchoice +config BLK_DEV_MPC52xx_IDE + tristate "MPC52xx Builtin IDE support" + depends on PPC_MPC52xx && IDE=y + # no isa -> no vlb config IDE_CHIPSETS bool "Other IDE chipset support"
drivers/ide/Makefile +1 -0
@@ -34,6 +34,7 @@ ide-core-$(CONFIG_BLK_DEV_MAC_IDE) += le ide-core-$(CONFIG_BLK_DEV_Q40IDE) += legacy/q40ide.o # built-in only drivers from ppc/ +ide-core-$(CONFIG_BLK_DEV_MPC52xx_IDE) += ppc/mpc52xx_ide.o ppc/mpc52xx_ide_iops.o ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += ppc/mpc8xx.o ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += ppc/pmac.o
drivers/ide/ppc/mpc52xx_ide.c new file +420 -0
420 lines not on this page · raw message
drivers/ide/ppc/mpc52xx_ide.h new file +129 -0
129 lines not on this page · raw message
drivers/ide/ppc/mpc52xx_ide_iops.c new file +151 -0
151 lines not on this page · raw message
include/linux/ide.h +1 -1
@@ -203,7 +203,7 @@ typedef enum { ide_unknown, ide_generic, ide_rz1000, ide_trm290, ide_cmd646, ide_cy82c693, ide_4drives, ide_pmac, ide_etrax100, ide_acorn, - ide_au1xxx, ide_forced + ide_au1xxx, ide_mpc52xx, ide_forced } hwif_chipset_t;/*
Hi all,
Any follow up on that ?
Sylvain
Quoted 38 lines · Sylvain Munaut
Hi Bartlomiej,
Hi everyone,This patch adds support for the integrated IDE controller on the Freescale MPC52xx SoC. It has already been posted on the ppc-embedded mailings list and was tested and reported working by several people.
Could you review it and if it's ok push it upstream ?
Many thanks,
Sylvain
---
ppc32/ide: Add support for MPC52xx on-chip ATA controllerThis patch adds initial support for Freescale MPC52xx on-chip ATA controller. It's currently PIO-mode only and all the erratas are not handled since some of them requires hw tricks ...
Signed-off-by Sylvain Munaut <[email protected]>---
commitf3180ffadd5dddcfa9d11da4f7637e3e907e6aaatreed9bf294057a0dcdda25ba6c6ea3fcc9748d87e93parent67015426ff51ba857b7678a993f4ffd6def1941eauthor Sylvain Munaut <[email protected]> 1139147442 +0100 committer Sylvain Munaut <[email protected]> 1143312600 +0100drivers/ide/Kconfig | 4 drivers/ide/Makefile | 1 drivers/ide/ppc/mpc52xx_ide.c | 420 +++++++++++++++++++++++++++++++++++++ drivers/ide/ppc/mpc52xx_ide.h | 129 +++++++++++ drivers/ide/ppc/mpc52xx_ide_iops.c | 151 +++++++++++++ include/linux/ide.h | 2 6 files changed, 706 insertions(+), 1 deletion(-)
Quoted 2 lines
---
[patch snipped, cfr original post]