a02ebf756a2347c0236c9afeee217e52f4ed5d69
[openwrt.git] / target / linux / rb532 / patches / 120-cf.patch
1 diff -urN linux-2.6.23.12/drivers/block/Kconfig linux-2.6.23.12.new/drivers/block/Kconfig
2 --- linux-2.6.23.12/drivers/block/Kconfig       2007-12-18 22:55:57.000000000 +0100
3 +++ linux-2.6.23.12.new/drivers/block/Kconfig   2008-01-11 08:53:32.000000000 +0100
4 @@ -426,6 +426,14 @@
5           Support for virtual disk devices as a client under Sun
6           Logical Domains.
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  source "drivers/s390/block/Kconfig"
17  
18  config XILINX_SYSACE
19 diff -urN linux-2.6.23.12/drivers/block/Makefile linux-2.6.23.12.new/drivers/block/Makefile
20 --- linux-2.6.23.12/drivers/block/Makefile      2007-12-18 22:55:57.000000000 +0100
21 +++ linux-2.6.23.12.new/drivers/block/Makefile  2008-01-11 08:54:04.000000000 +0100
22 @@ -21,6 +21,7 @@
23  obj-$(CONFIG_XILINX_SYSACE)    += xsysace.o
24  obj-$(CONFIG_CDROM_PKTCDVD)    += pktcdvd.o
25  obj-$(CONFIG_SUNVDC)           += sunvdc.o
26 +obj-$(CONFIG_BLK_DEV_CF_MIPS)  += rb500/
27  
28  obj-$(CONFIG_BLK_DEV_UMEM)     += umem.o
29  obj-$(CONFIG_BLK_DEV_NBD)      += nbd.o