aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2021-12-30 20:03:48 +0100
committerChristian Lamparter <chunkeey@gmail.com>2022-01-08 23:17:18 +0100
commitd9ff9a4270de3f97124eac7ae9a5174c859f87cd (patch)
treee3d7d13493031ee5885d7a42484c17a78709a02e /package
parent8c501bf9feeaadfb9d950806a312b328baabddcb (diff)
downloadupstream-d9ff9a4270de3f97124eac7ae9a5174c859f87cd.tar.gz
upstream-d9ff9a4270de3f97124eac7ae9a5174c859f87cd.tar.bz2
upstream-d9ff9a4270de3f97124eac7ae9a5174c859f87cd.zip
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>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/netdevices.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 6bbaf21e4a..91f51f5be6 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -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)