RFC: [2.6 patch] let BLK_DEV_UB depend on EMBEDDED

From: Adrian Bunk
Date: Sun Dec 19 2004 - 19:23:48 EST


I've already seen people crippling their usb-storage driver with
enabling BLK_DEV_UB - and I doubt the warning in the help text added
after 2.6.9 will fix all such problems.

Is there except for kernel size any good reason for using BLK_DEV_UB
instead of USB_STORAGE?

If not, I'd suggest the patch below to let BLK_DEV_UB depend
on EMBEDDED.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc3-mm1-full/drivers/block/Kconfig.old 2004-12-20 00:52:22.000000000 +0100
+++ linux-2.6.10-rc3-mm1-full/drivers/block/Kconfig 2004-12-20 00:52:39.000000000 +0100
@@ -303,7 +303,7 @@

config BLK_DEV_UB
tristate "Low Performance USB Block driver"
- depends on USB
+ depends on USB && EMBEDDED
help
This driver supports certain USB attached storage devices
such as flash keys.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/