1 Index: linux-2.6.24.7/drivers/ide/ide.c
2 ===================================================================
3 --- linux-2.6.24.7.orig/drivers/ide/ide.c
4 +++ linux-2.6.24.7/drivers/ide/ide.c
5 @@ -1563,6 +1563,7 @@ done:
6 extern void __init pnpide_init(void);
7 extern void __exit pnpide_exit(void);
8 extern void __init h8300_ide_init(void);
9 +extern void __init ide_magicbox_init(void);
12 * probe_for_hwifs() finds/initializes "known" IDE interfaces
13 @@ -1627,6 +1628,9 @@ static void __init probe_for_hwifs (void
17 +#ifdef CONFIG_BLK_DEV_MAGICBOX_IDE
18 + ide_magicbox_init();
23 Index: linux-2.6.24.7/drivers/ide/Kconfig
24 ===================================================================
25 --- linux-2.6.24.7.orig/drivers/ide/Kconfig
26 +++ linux-2.6.24.7/drivers/ide/Kconfig
27 @@ -1018,6 +1018,14 @@ config BLK_DEV_MPC8xx_IDE
31 +config BLK_DEV_MAGICBOX_IDE
32 + bool "MagicBox 2.0 CF IDE support"
33 + depends on 4xx && IDE
35 + This option provides support for IDE on MagicBox 2.0 boards.
40 prompt "Type of MPC8xx IDE interface"
41 depends on BLK_DEV_MPC8xx_IDE
42 Index: linux-2.6.24.7/drivers/ide/Makefile
43 ===================================================================
44 --- linux-2.6.24.7.orig/drivers/ide/Makefile
45 +++ linux-2.6.24.7/drivers/ide/Makefile
46 @@ -37,6 +37,7 @@ ide-core-$(CONFIG_BLK_DEV_Q40IDE) += leg
47 # built-in only drivers from ppc/
48 ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += ppc/mpc8xx.o
49 ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += ppc/pmac.o
50 +ide-core-$(CONFIG_BLK_DEV_MAGICBOX_IDE) += ppc/magicbox_ide.o
52 # built-in only drivers from h8300/
53 ide-core-$(CONFIG_IDE_H8300) += h8300/ide-h8300.o