The RB513 CF driver is now a module, enable it by default for the RB1xx profile.
[openwrt.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 + tristate "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
32 diff --git a/fs/partitions/check.c b/fs/partitions/check.c
33 index 722e12e..60af038 100644
34 --- a/fs/partitions/check.c
35 +++ b/fs/partitions/check.c
36 @@ -526,6 +526,7 @@ exit:
37 kobject_uevent(&p->kobj, KOBJ_ADD);
38 }
39 }
40 +EXPORT_SYMBOL(register_disk);
41
42 int rescan_partitions(struct gendisk *disk, struct block_device *bdev)
43 {
This page took 0.056412 seconds and 5 git commands to generate.