2007-10-22 23:56:34 +03:00
|
|
|
Index: linux-2.6.23/drivers/block/Kconfig
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.23/drivers/block/Kconfig 2007-10-09 22:31:38.000000000 +0200
|
|
|
|
+++ linux-2.6.23.new/drivers/block/Kconfig 2007-10-22 18:07:49.000000000 +0200
|
|
|
|
@@ -65,6 +65,14 @@
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called z2ram.
|
|
|
|
|
|
|
|
+config BLK_DEV_CF_MIPS
|
2007-10-23 13:46:19 +03:00
|
|
|
+ tristate "CF slot of RB153 board"
|
2007-10-22 23:56:34 +03:00
|
|
|
+ depends on MIPS_ADM5120
|
|
|
|
+ default y
|
|
|
|
+ help
|
|
|
|
+ The Routerboard 153 has a CF slot on it. Enable the special block
|
|
|
|
+ device driver for it.
|
|
|
|
+
|
|
|
|
config BLK_DEV_XD
|
|
|
|
tristate "XT hard disk support"
|
|
|
|
depends on ISA && ISA_DMA_API
|
|
|
|
Index: linux-2.6.23/drivers/block/Makefile
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.23/drivers/block/Makefile 2007-10-09 22:31:38.000000000 +0200
|
|
|
|
+++ linux-2.6.23.new/drivers/block/Makefile.new 2007-10-22 18:08:15.000000000 +0200
|
|
|
|
@@ -7,6 +7,7 @@
|
|
|
|
|
|
|
|
obj-$(CONFIG_MAC_FLOPPY) += swim3.o
|
|
|
|
obj-$(CONFIG_BLK_DEV_FD) += floppy.o
|
|
|
|
+obj-$(CONFIG_BLK_DEV_CF_MIPS) += rb1xx/
|
|
|
|
obj-$(CONFIG_AMIGA_FLOPPY) += amiflop.o
|
|
|
|
obj-$(CONFIG_PS3_DISK) += ps3disk.o
|
|
|
|
obj-$(CONFIG_ATARI_FLOPPY) += ataflop.o
|
2007-10-23 13:46:19 +03:00
|
|
|
diff --git a/fs/partitions/check.c b/fs/partitions/check.c
|
|
|
|
index 722e12e..60af038 100644
|
|
|
|
--- a/fs/partitions/check.c
|
|
|
|
+++ b/fs/partitions/check.c
|
|
|
|
@@ -526,6 +526,7 @@ exit:
|
|
|
|
kobject_uevent(&p->kobj, KOBJ_ADD);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
+EXPORT_SYMBOL(register_disk);
|
|
|
|
|
|
|
|
int rescan_partitions(struct gendisk *disk, struct block_device *bdev)
|
|
|
|
{
|