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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user