aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-06-18 09:41:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-06-18 09:41:12 +0000
commit0d7ab0f8455745ebc4efb440740c4bda6e0c3973 (patch)
treecf33e7c4f1e4ff3aa4c4c83964155bec66420d1e /package/kernel/linux
parent1e08c08e4819a9378f65ea0eca71d4f1e6680351 (diff)
downloadupstream-0d7ab0f8455745ebc4efb440740c4bda6e0c3973.tar.gz
upstream-0d7ab0f8455745ebc4efb440740c4bda6e0c3973.tar.bz2
upstream-0d7ab0f8455745ebc4efb440740c4bda6e0c3973.zip
kernel: add Realtek USB to Ethernet modules
https://forum.openwrt.org/viewtopic.php?pid=279394 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46031
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/usb.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index f27fcbd47f..294d354f01 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1260,6 +1260,36 @@ endef
$(eval $(call KernelPackage,usb-net-qmi-wwan))
+define KernelPackage/usb-net-rtl8150
+ TITLE:=Kernel module for USB-to-Ethernet Realtek convertors
+ KCONFIG:=CONFIG_USB_RTL8150
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/rtl8150.ko
+ AUTOLOAD:=$(call AutoProbe,rtl8150)
+ $(call AddDepends/usb-net)
+endef
+
+define KernelPackage/usb-net-rtl8150/description
+ Kernel module for USB-to-Ethernet Realtek 8150 convertors
+endef
+
+$(eval $(call KernelPackage,usb-net-rtl8150))
+
+
+define KernelPackage/usb-net-rtl8152
+ TITLE:=Kernel module for USB-to-Ethernet Realtek convertors
+ KCONFIG:=CONFIG_USB_RTL8152
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/r8152.ko
+ AUTOLOAD:=$(call AutoProbe,r8152)
+ $(call AddDepends/usb-net)
+endef
+
+define KernelPackage/usb-net-rtl8152/description
+ Kernel module for USB-to-Ethernet Realtek 8152 USB2.0/3.0 convertors
+endef
+
+$(eval $(call KernelPackage,usb-net-rtl8152))
+
+
define KernelPackage/usb-net-rndis
TITLE:=Support for RNDIS connections
KCONFIG:=CONFIG_USB_NET_RNDIS_HOST