1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-13 10:49:13 +02:00

kernel: add kmod-phy-microchip

phy drivers for Microchip's LAN88xx PHYs.
This is needed for the "LAN7801" variant
of the upstream lan78xx usb ethernet driver.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
Christian Lamparter 2021-12-30 20:03:48 +01:00
parent 8c501bf9fe
commit d9ff9a4270

View File

@ -196,6 +196,21 @@ endef
$(eval $(call KernelPackage,et131x))
define KernelPackage/phy-microchip
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Microchip Ethernet PHY driver
KCONFIG:=CONFIG_MICROCHIP_PHY
DEPENDS:=+kmod-libphy
FILES:=$(LINUX_DIR)/drivers/net/phy/microchip.ko
AUTOLOAD:=$(call AutoLoad,18,microchip,1)
endef
define KernelPackage/phy-microchip/description
Supports the LAN88XX PHYs.
endef
$(eval $(call KernelPackage,phy-microchip))
define KernelPackage/phylib-broadcom
SUBMENU:=$(NETWORK_DEVICES_MENU)