Skip to content

Commit

Permalink
kernel: add Realtek USB to Ethernet modules
Browse files Browse the repository at this point in the history
https://forum.openwrt.org/viewtopic.php?pid=279394

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

Backport of r46031

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48863 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
blogic committed Mar 1, 2016
1 parent e624035 commit a10e17c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions package/kernel/linux/modules/usb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,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
Expand Down

0 comments on commit a10e17c

Please sign in to comment.