aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-04-26 03:17:25 +0200
committerAlexander Couzens <lynxis@fe80.eu>2016-06-01 17:56:52 +0200
commit9128ed33b5d476eecbc0d5ec37c9002a8b103b81 (patch)
treef3bd95431c0a75a9e87508d1bbf1495affcd2e0f /package/kernel
parent2e980479c1eab08dd27d7ec72ecba37e2e17f1d0 (diff)
downloadupstream-9128ed33b5d476eecbc0d5ec37c9002a8b103b81.tar.gz
upstream-9128ed33b5d476eecbc0d5ec37c9002a8b103b81.tar.bz2
upstream-9128ed33b5d476eecbc0d5ec37c9002a8b103b81.zip
add usb gadget ehci debug driver
This gadget driver allow to debug other devices via EHCI Debug Port capability. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/usb.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index e98f13ba1b..a36993e483 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -234,6 +234,23 @@ endef
$(eval $(call KernelPackage,usb-lib-composite))
+define KernelPackage/usb-ehci-debug-gadget
+ TITLE:=USB EHCI debug port Gadget support
+ KCONFIG:=\
+ CONFIG_USB_G_DBGP \
+ CONFIG_USB_G_DBGP_SERIAL=y \
+ CONFIG_USB_G_DBGP_PRINTK=n
+ DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite +kmod-usb-serial-gadget
+ FILES:=$(LINUX_DIR)/drivers/usb/gadget/legacy/g_dbgp.ko
+ AUTOLOAD:=$(call AutoLoad,52,g_dbgp)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/usb-ehci-debug-gadget/description
+ Kernel support for USB EHCI debug port Gadget.
+endef
+
+$(eval $(call KernelPackage,usb-ehci-debug-gadget))
define KernelPackage/usb-eth-gadget
TITLE:=USB Ethernet Gadget support