Skip to content

Commit

Permalink
usbip: vudc: Add vudc to Kconfig
Browse files Browse the repository at this point in the history
Add the driver to Kconfig to make it visible in menuconfig
and allow people to compile it.

This commit is a result of cooperation between Samsung R&D Institute
Poland and Open Operating Systems Student Society at University
of Warsaw (O2S3@UW) consisting of:

    Igor Kotrasinski <ikotrasinsk@gmail.com>
    Karol Kosik <karo9@interia.eu>
    Ewelina Kosmider <3w3lfin@gmail.com>
    Dawid Lazarczyk <lazarczyk.dawid@gmail.com>
    Piotr Szulc <ps347277@students.mimuw.edu.pl>

Tutor and project owner:
    Krzysztof Opasiak <k.opasiak@samsung.com>

Signed-off-by: Igor Kotrasinski <i.kotrasinsk@samsung.com>
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Igor Kotrasinski authored and Greg Kroah-Hartman committed Apr 26, 2016
1 parent e0546fd commit 9360575
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/usb/usbip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ config USBIP_HOST
To compile this driver as a module, choose M here: the
module will be called usbip-host.

config USBIP_VUDC
tristate "VUDC driver"
depends on USBIP_CORE
---help---
This enables the USB/IP virtual USB device controller
driver, which is run on the host machine, allowing the
machine itself to act as a device.

To compile this driver as a module, choose M here: the
module will be called usbip-vudc.

config USBIP_DEBUG
bool "Debug messages for USB/IP"
depends on USBIP_CORE
Expand Down
3 changes: 3 additions & 0 deletions drivers/usb/usbip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ vhci-hcd-y := vhci_sysfs.o vhci_tx.o vhci_rx.o vhci_hcd.o

obj-$(CONFIG_USBIP_HOST) += usbip-host.o
usbip-host-y := stub_dev.o stub_main.o stub_rx.o stub_tx.o

obj-$(CONFIG_USBIP_VUDC) += usbip-vudc.o
usbip-vudc-y := vudc_dev.o vudc_sysfs.o vudc_tx.o vudc_rx.o vudc_transfer.o vudc_main.o

0 comments on commit 9360575

Please sign in to comment.