linux: usb: r8152: add device-specific firmware

This is needed by newer kernel.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
CN_SZTL 2021-02-18 01:00:30 +08:00
parent 90196fec9d
commit 5304b20b60
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -1325,6 +1325,7 @@ $(eval $(call KernelPackage,usb-net-rtl8150))
define KernelPackage/usb-net-rtl8152
TITLE:=Kernel module for USB-to-Ethernet Realtek convertors
KCONFIG:=CONFIG_USB_RTL8152
DEPENDS:=+!LINUX_5_4:r8169-firmware
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/r8152.ko
AUTOLOAD:=$(call AutoProbe,r8152)
$(call AddDepends/usb-net)