X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=block%2FKconfig;h=83766a6bdee264f3c3a8da74bfa95ada55097062;hb=59458f40e25915a355d8b1d701425fe9f4f9ea23;hp=b6f5f0a79655a3de0125af945682f91bf92bc726;hpb=a8b59e79ed55de97949ff1ca7d933786b95b39bd;p=powerpc.git diff --git a/block/Kconfig b/block/Kconfig index b6f5f0a796..83766a6bde 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -1,6 +1,24 @@ # # Block layer core configuration # +config BLOCK + bool "Enable the block layer" if EMBEDDED + default y + help + This permits the block layer to be removed from the kernel if it's not + needed (on some embedded devices for example). If this option is + disabled, then blockdev files will become unusable and some + filesystems (such as ext3) will become unavailable. + + This option will also disable SCSI character devices and USB storage + since they make use of various block layer definitions and + facilities. + + Say Y here unless you know you really don't want to mount disks and + suchlike. + +if BLOCK + #XXX - it makes sense to enable this only for 32-bit subarch's, not for x86_64 #for instance. config LBD @@ -33,4 +51,6 @@ config LSF If unsure, say Y. +endif + source block/Kconfig.iosched