522195e45127fdf1b184d230cf2a01d66bcf0205
[openwrt.git] / target / linux / rb532 / patches / 120-cf.patch
1 Index: linux-2.6.23.17/drivers/block/Kconfig
2 ===================================================================
3 --- linux-2.6.23.17.orig/drivers/block/Kconfig
4 +++ linux-2.6.23.17/drivers/block/Kconfig
5 @@ -426,6 +426,14 @@ config SUNVDC
6           Support for virtual disk devices as a client under Sun
7           Logical Domains.
8  
9 +config BLK_DEV_CF_MIPS
10 +       bool "CF slot of RB532 board"
11 +       depends on MIKROTIK_RB500
12 +       default y
13 +       help
14 +        The Routerboard 532 has a CF slot on it. Enable the special block
15 +        device driver for it.
16 +
17  source "drivers/s390/block/Kconfig"
18  
19  config XILINX_SYSACE
20 Index: linux-2.6.23.17/drivers/block/Makefile
21 ===================================================================
22 --- linux-2.6.23.17.orig/drivers/block/Makefile
23 +++ linux-2.6.23.17/drivers/block/Makefile
24 @@ -21,6 +21,7 @@ obj-$(CONFIG_BLK_DEV_DAC960)  += DAC960.o
25  obj-$(CONFIG_XILINX_SYSACE)    += xsysace.o
26  obj-$(CONFIG_CDROM_PKTCDVD)    += pktcdvd.o
27  obj-$(CONFIG_SUNVDC)           += sunvdc.o
28 +obj-$(CONFIG_BLK_DEV_CF_MIPS)  += rb500/
29  
30  obj-$(CONFIG_BLK_DEV_UMEM)     += umem.o
31  obj-$(CONFIG_BLK_DEV_NBD)      += nbd.o