convert rb532 to the new structure
[openwrt/svn-archive/archive.git] / target / linux / rb532-2.6 / patches / 120-cf.patch
1 diff -urN linux.old/drivers/block/Kconfig linux.dev/drivers/block/Kconfig
2 --- linux.old/drivers/block/Kconfig 2006-10-26 02:43:39.000000000 +0200
3 +++ linux.dev/drivers/block/Kconfig 2006-10-26 00:11:14.000000000 +0200
4 @@ -456,4 +456,12 @@
5 This driver provides Support for ATA over Ethernet block
6 devices like the Coraid EtherDrive (R) Storage Blade.
7
8 +config BLK_DEV_CF_MIPS
9 + bool "CF slot of RB532 board"
10 + depends on MIKROTIK_RB500
11 + default y
12 + help
13 + The Routerboard 532 has a CF slot on it. Enable the special block
14 + device driver for it.
15 +
16 endmenu
17 diff -urN linux.old/drivers/block/Makefile linux.dev/drivers/block/Makefile
18 --- linux.old/drivers/block/Makefile 2006-06-18 03:49:35.000000000 +0200
19 +++ linux.dev/drivers/block/Makefile 2006-10-26 02:44:10.000000000 +0200
20 @@ -29,4 +29,5 @@
21 obj-$(CONFIG_VIODASD) += viodasd.o
22 obj-$(CONFIG_BLK_DEV_SX8) += sx8.o
23 obj-$(CONFIG_BLK_DEV_UB) += ub.o
24 +obj-$(CONFIG_BLK_DEV_CF_MIPS) += rb500/
25
26