diff options
| author | Daniel Golle <daniel@makrotopia.org> | 2024-01-26 17:27:08 +0000 |
|---|---|---|
| committer | Daniel Golle <daniel@makrotopia.org> | 2024-02-15 19:30:08 +0000 |
| commit | 5a2eb8082f4126cc8881a5640602c52058b46e78 (patch) | |
| tree | f409ab72015aa2b3a04d6bca73d79e819888527b /package/kernel/linux/modules | |
| parent | bc25519f98cddbea3332e8ad02aac45aeea87fd6 (diff) | |
| download | upstream-5a2eb8082f4126cc8881a5640602c52058b46e78.tar.gz upstream-5a2eb8082f4126cc8881a5640602c52058b46e78.tar.bz2 upstream-5a2eb8082f4126cc8881a5640602c52058b46e78.zip | |
kernel: add driver for Airoha EN8811H PHY as module
Add PHY driver for Airoha EN8811H PHY and package it as kernel module.
The PHY needs to load firmware from rootfs, so there is no point in
having the driver built-into the kernel.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel/linux/modules')
| -rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 63f75e95914..72504d8de7f 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -375,6 +375,23 @@ endef $(eval $(call KernelPackage,phy-smsc)) +define KernelPackage/phy-airoha-en8811h + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Airoha EN8811H 2.5G Ethernet PHY + DEPENDS:=+airoha-en8811h-firmware +kmod-libphy @LINUX_6_1 + KCONFIG:=CONFIG_AIR_EN8811H_PHY + FILES:= \ + $(LINUX_DIR)/drivers/net/phy/air_en8811h.ko + AUTOLOAD:=$(call AutoLoad,18,air_en8811h,1) +endef + +define KernelPackage/phy-airoha-en8811h/description + Kernel modules for Airoha EN8811H 2.5G Ethernet PHY +endef + +$(eval $(call KernelPackage,phy-airoha-en8811h)) + + define KernelPackage/phy-aquantia SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Aquantia Ethernet PHYs |
