vhost-net: switch to smp barriers
[safe/jmp/linux-2.6] / drivers / base / Kconfig
index 13cfcb4..ee37727 100644 (file)
@@ -8,6 +8,31 @@ config UEVENT_HELPER_PATH
          Path to uevent helper program forked by the kernel for
          every uevent.
 
+config DEVTMPFS
+       bool "Create a kernel maintained /dev tmpfs (EXPERIMENTAL)"
+       depends on HOTPLUG && SHMEM && TMPFS
+       help
+         This creates a tmpfs filesystem, and mounts it at bootup
+         and mounts it at /dev. The kernel driver core creates device
+         nodes for all registered devices in that filesystem. All device
+         nodes are owned by root and have the default mode of 0600.
+         Userspace can add and delete the nodes as needed. This is
+         intended to simplify bootup, and make it possible to delay
+         the initial coldplug at bootup done by udev in userspace.
+         It should also provide a simpler way for rescue systems
+         to bring up a kernel with dynamic major/minor numbers.
+         Meaningful symlinks, permissions and device ownership must
+         still be handled by userspace.
+         If unsure, say N here.
+
+config DEVTMPFS_MOUNT
+       bool "Automount devtmpfs at /dev"
+       depends on DEVTMPFS
+       help
+         This will mount devtmpfs at /dev if the kernel mounts the root
+         filesystem. It will not affect initramfs based mounting.
+         If unsure, say N here.
+
 config STANDALONE
        bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL
        default y
@@ -27,13 +52,39 @@ config PREVENT_FIRMWARE_BUILD
          If unsure say Y here.
 
 config FW_LOADER
-       tristate "Userspace firmware loading support"
+       tristate "Userspace firmware loading support" if EMBEDDED
        depends on HOTPLUG
+       default y
        ---help---
          This option is provided for the case where no in-kernel-tree modules
          require userspace firmware loading support, but a module built outside
          the kernel tree does.
 
+config FIRMWARE_IN_KERNEL
+       bool "Include in-kernel firmware blobs in kernel binary"
+       depends on FW_LOADER
+       default y
+       help
+         The kernel source tree includes a number of firmware 'blobs'
+         which are used by various drivers. The recommended way to
+         use these is to run "make firmware_install" and to copy the
+         resulting binary files created in usr/lib/firmware directory
+         of the kernel tree to the /lib/firmware on your system so
+         that they can be loaded by userspace helpers on request.
+
+         Enabling this option will build each required firmware blob
+         into the kernel directly, where request_firmware() will find
+         them without having to call out to userspace. This may be
+         useful if your root file system requires a device which uses
+         such firmware, and do not wish to use an initrd.
+
+         This single option controls the inclusion of firmware for
+         every driver which uses request_firmware() and ships its
+         firmware in the kernel source tree, to avoid a proliferation
+         of 'Include firmware for xxx device' options.
+
+         Say 'N' and let firmware be loaded from userspace.
+
 config EXTRA_FIRMWARE
        string "External firmware blobs to build into the kernel binary"
        depends on FW_LOADER