1 Index: linux-2.6.22-rc6/drivers/ide/ide.c
2 ===================================================================
3 --- linux-2.6.22-rc6.orig/drivers/ide/ide.c 2007-06-28 08:23:49.463514496 +0200
4 +++ linux-2.6.22-rc6/drivers/ide/ide.c 2007-06-28 08:23:54.658724704 +0200
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
17 +#ifdef CONFIG_BLK_DEV_MAGICBOX_IDE
18 + ide_magicbox_init();
23 Index: linux-2.6.22-rc6/drivers/ide/Kconfig
24 ===================================================================
25 --- linux-2.6.22-rc6.orig/drivers/ide/Kconfig 2007-06-28 08:23:49.470513432 +0200
26 +++ linux-2.6.22-rc6/drivers/ide/Kconfig 2007-06-28 08:23:54.658724704 +0200
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.22-rc6/drivers/ide/Makefile
43 ===================================================================
44 --- linux-2.6.22-rc6.orig/drivers/ide/Makefile 2007-06-28 08:23:49.478512216 +0200
45 +++ linux-2.6.22-rc6/drivers/ide/Makefile 2007-06-28 08:23:54.659724552 +0200
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_H8300) += h8300/ide-h8300.o