aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-07-19 22:19:26 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-07-19 22:19:26 +0000
commit221ddfa19b237604a3d08481c5a44ce8eba2d057 (patch)
treed03ba28ca7014888e36fc3ee5657624720c8ebe5 /package/kernel
parente47a2a24a7da9bdf53319ee7100d581044390b90 (diff)
downloadupstream-221ddfa19b237604a3d08481c5a44ce8eba2d057.tar.gz
upstream-221ddfa19b237604a3d08481c5a44ce8eba2d057.tar.bz2
upstream-221ddfa19b237604a3d08481c5a44ce8eba2d057.zip
kernel: package the usbmon module
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37458
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/usb.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 9b7d1925ae..64a80e78da 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1046,3 +1046,16 @@ endef
$(eval $(call KernelPackage,usb-chipidea,1))
+define KernelPackage/usbmon
+ TITLE:=USB traffic monitor
+ KCONFIG:=CONFIG_USB_MON
+ $(call AddDepends/usb)
+ FILES:=$(LINUX_DIR)/drivers/usb/mon/usbmon.ko
+ AUTOLOAD:=$(call AutoLoad,60,usbmon)
+endef
+
+define KernelPackage/usbmon/description
+ Kernel support for USB traffic monitoring.
+endef
+
+$(eval $(call KernelPackage,usbmon))