Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: usbip: edit Kconfig and rename CONFIG options

Change modules usbip_common_mod to usbip-core and usbip to usbip-host;
edit configuration option help text; rename CONFIG options to use a
USBIP prefix and change COMMON to CORE in both the Kconfig and
Makefiles; edit the menu entries; and edit the driver descriptions.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

matt mooney and committed by
Greg Kroah-Hartman
64e62426 7aaacb43

+38 -36
+1 -1
drivers/staging/Makefile
··· 12 12 obj-$(CONFIG_VIDEO_TM6000) += tm6000/ 13 13 obj-$(CONFIG_DVB_CXD2099) += cxd2099/ 14 14 obj-$(CONFIG_LIRC_STAGING) += lirc/ 15 - obj-$(CONFIG_USB_IP_COMMON) += usbip/ 15 + obj-$(CONFIG_USBIP_CORE) += usbip/ 16 16 obj-$(CONFIG_W35UND) += winbond/ 17 17 obj-$(CONFIG_PRISM2_USB) += wlan-ng/ 18 18 obj-$(CONFIG_ECHO) += echo/
+27 -25
drivers/staging/usbip/Kconfig
··· 1 - config USB_IP_COMMON 2 - tristate "USB IP support (EXPERIMENTAL)" 1 + config USBIP_CORE 2 + tristate "USB/IP support (EXPERIMENTAL)" 3 3 depends on USB && NET && EXPERIMENTAL 4 4 default N 5 5 ---help--- 6 6 This enables pushing USB packets over IP to allow remote 7 - machines access to USB devices directly. For more details, 8 - and links to the userspace utility programs to let this work 9 - properly, see http://usbip.sourceforge.net/. 7 + machines direct access to USB devices. It provides the 8 + USB/IP core that is required by both drivers. 10 9 11 - To compile this driver as a module, choose M here: the 12 - module will be called usbip_common_mod. 10 + For more details, and to get the userspace utility 11 + programs, please see http://usbip.sourceforge.net/. 12 + 13 + To compile this as a module, choose M here: the module will 14 + be called usbip-core. 13 15 14 16 If unsure, say N. 15 17 16 - config USB_IP_VHCI_HCD 17 - tristate "USB IP client driver" 18 - depends on USB_IP_COMMON 18 + config USBIP_VHCI_HCD 19 + tristate "VHCI hcd" 20 + depends on USBIP_CORE 19 21 default N 20 22 ---help--- 21 - This enables the USB IP host controller driver which will 22 - run on the client machine. 23 + This enables the USB/IP virtual host controller driver, 24 + which is run on the remote machine. 23 25 24 - To compile this driver as a module, choose M here: the 25 - module will be called vhci_hcd. 26 + To compile this driver as a module, choose M here: the 27 + module will be called vhci-hcd. 26 28 27 - config USB_IP_HOST 28 - tristate "USB IP host driver" 29 - depends on USB_IP_COMMON 29 + config USBIP_HOST 30 + tristate "Host driver" 31 + depends on USBIP_CORE 30 32 default N 31 33 ---help--- 32 - This enables the USB IP device driver which will run on the 33 - host machine. 34 + This enables the USB/IP host driver, which is run on the 35 + machine that is sharing the USB devices. 34 36 35 - To compile this driver as a module, choose M here: the 36 - module will be called usbip. 37 + To compile this driver as a module, choose M here: the 38 + module will be called usbip-host. 37 39 38 - config USB_IP_DEBUG 39 - bool "USB/IP debug messages" 40 - depends on USB_IP_COMMON 40 + config USBIP_DEBUG 41 + bool "Debug messages for USB/IP" 42 + depends on USBIP_CORE 41 43 default N 42 44 ---help--- 43 - This enables the debug messages from the USB-IP drivers. 45 + This enables the debug messages from the USB/IP drivers.
+6 -6
drivers/staging/usbip/Makefile
··· 1 - ccflags-$(CONFIG_USB_IP_DEBUG) := -DDEBUG 1 + ccflags-$(CONFIG_USBIP_DEBUG) := -DDEBUG 2 2 3 - obj-$(CONFIG_USB_IP_COMMON) += usbip_common_mod.o 4 - usbip_common_mod-y := usbip_common.o usbip_event.o 3 + obj-$(CONFIG_USBIP_CORE) += usbip-core.o 4 + usbip-core-y := usbip_common.o usbip_event.o 5 5 6 - obj-$(CONFIG_USB_IP_VHCI_HCD) += vhci-hcd.o 6 + obj-$(CONFIG_USBIP_VHCI_HCD) += vhci-hcd.o 7 7 vhci-hcd-y := vhci_sysfs.o vhci_tx.o vhci_rx.o vhci_hcd.o 8 8 9 - obj-$(CONFIG_USB_IP_HOST) += usbip.o 10 - usbip-y := stub_dev.o stub_main.o stub_rx.o stub_tx.o 9 + obj-$(CONFIG_USBIP_HOST) += usbip-host.o 10 + usbip-host-y := stub_dev.o stub_main.o stub_rx.o stub_tx.o
+1 -1
drivers/staging/usbip/stub_main.c
··· 23 23 #include "stub.h" 24 24 25 25 #define DRIVER_AUTHOR "Takahiro Hirofuchi" 26 - #define DRIVER_DESC "Stub Driver for USB/IP" 26 + #define DRIVER_DESC "USB/IP Host Driver" 27 27 28 28 /* stub_priv is allocated from stub_priv_cache */ 29 29 struct kmem_cache *stub_priv_cache;
+2 -2
drivers/staging/usbip/usbip_common.c
··· 27 27 #include "usbip_common.h" 28 28 29 29 #define DRIVER_AUTHOR "Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>" 30 - #define DRIVER_DESC "USB/IP Common Driver" 30 + #define DRIVER_DESC "USB/IP Core" 31 31 32 - #ifdef CONFIG_USB_IP_DEBUG 32 + #ifdef CONFIG_USBIP_DEBUG 33 33 unsigned long usbip_debug_flag = 0xffffffff; 34 34 #else 35 35 unsigned long usbip_debug_flag;
+1 -1
drivers/staging/usbip/vhci_hcd.c
··· 28 28 #include "vhci.h" 29 29 30 30 #define DRIVER_AUTHOR "Takahiro Hirofuchi" 31 - #define DRIVER_DESC "Virtual Host Controller Interface Driver for USB/IP" 31 + #define DRIVER_DESC "USB/IP 'Virtual' Host Controller (VHCI) Driver" 32 32 33 33 /* 34 34 * TODO