cbfe42d6c313cd394e944361127ee4e455f679dc
[openwrt-10.03/.git] / target / linux / adm5120 / patches-2.6.23 / 120-cf.patch
1 Index: linux-2.6.23/drivers/block/Kconfig
2 ===================================================================
3 --- linux-2.6.23/drivers/block/Kconfig  2007-10-09 22:31:38.000000000 +0200
4 +++ linux-2.6.23.new/drivers/block/Kconfig      2007-10-22 18:07:49.000000000 +0200
5 @@ -65,6 +65,14 @@
6           To compile this driver as a module, choose M here: the
7           module will be called z2ram.
8  
9 +config BLK_DEV_CF_MIPS
10 +       bool "CF slot of RB153 board"
11 +       depends on MIPS_ADM5120
12 +       default y
13 +       help
14 +         The Routerboard 153 has a CF slot on it. Enable the special block
15 +         device driver for it.
16 +
17  config BLK_DEV_XD
18         tristate "XT hard disk support"
19         depends on ISA && ISA_DMA_API
20 Index: linux-2.6.23/drivers/block/Makefile
21 ===================================================================
22 --- linux-2.6.23/drivers/block/Makefile 2007-10-09 22:31:38.000000000 +0200
23 +++ linux-2.6.23.new/drivers/block/Makefile.new 2007-10-22 18:08:15.000000000 +0200
24 @@ -7,6 +7,7 @@
25  
26  obj-$(CONFIG_MAC_FLOPPY)       += swim3.o
27  obj-$(CONFIG_BLK_DEV_FD)       += floppy.o
28 +obj-$(CONFIG_BLK_DEV_CF_MIPS)  += rb1xx/
29  obj-$(CONFIG_AMIGA_FLOPPY)     += amiflop.o
30  obj-$(CONFIG_PS3_DISK)         += ps3disk.o
31  obj-$(CONFIG_ATARI_FLOPPY)     += ataflop.o