kernel-ark/drivers/staging/usbip/Kconfig
Arnd Bergmann 6de5bd128d BKL: introduce CONFIG_BKL.
With all the patches we have queued in the BKL removal tree, only a
few dozen modules are left that actually rely on the BKL, and even
there are lots of low-hanging fruit. We need to decide what to do
about them, this patch illustrates one of the options:

Every user of the BKL is marked as 'depends on BKL' in Kconfig,
and the CONFIG_BKL becomes a user-visible option. If it gets
disabled, no BKL using module can be built any more and the BKL
code itself is compiled out.

The one exception is file locking, which is practically always
enabled and does a 'select BKL' instead. This effectively forces
CONFIG_BKL to be enabled until we have solved the fs/lockd
mess and can apply the patch that removes the BKL from fs/locks.c.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2010-10-21 15:44:13 +02:00

44 lines
1.2 KiB
Plaintext

config USB_IP_COMMON
tristate "USB IP support (EXPERIMENTAL)"
depends on USB && NET && EXPERIMENTAL && BKL
default N
---help---
This enables pushing USB packets over IP to allow remote
machines access to USB devices directly. For more details,
and links to the userspace utility programs to let this work
properly, see http://usbip.sourceforge.net/.
To compile this driver as a module, choose M here: the
module will be called usbip_common_mod.
If unsure, say N.
config USB_IP_VHCI_HCD
tristate "USB IP client driver"
depends on USB_IP_COMMON
default N
---help---
This enables the USB IP host controller driver which will
run on the client machine.
To compile this driver as a module, choose M here: the
module will be called vhci_hcd.
config USB_IP_HOST
tristate "USB IP host driver"
depends on USB_IP_COMMON
default N
---help---
This enables the USB IP device driver which will run on the
host machine.
To compile this driver as a module, choose M here: the
module will be called usbip.
config USB_IP_DEBUG_ENABLE
bool "USB-IP Debug Enable"
depends on USB_IP_COMMON
default N
---help---
This enables the debug messages from the USB-IP drivers.