diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-06-18 09:41:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-18 09:41:12 +0000 |
commit | af776ef5bc28acdf329871b96ce1ebcc125cb881 (patch) | |
tree | c18bb5223f5dd25e9890152963525ce5459c1780 | |
parent | 91e6eb49216c63813d3fe44a2f5dbd8dacf16928 (diff) | |
download | master-187ad058-af776ef5bc28acdf329871b96ce1ebcc125cb881.tar.gz master-187ad058-af776ef5bc28acdf329871b96ce1ebcc125cb881.tar.bz2 master-187ad058-af776ef5bc28acdf329871b96ce1ebcc125cb881.zip |
kernel: add Realtek USB to Ethernet modules
https://forum.openwrt.org/viewtopic.php?pid=279394
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46031 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/linux/modules/usb.mk | 30 |
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 |