$(eval $(call KernelPackage,phylib-broadcom))
+define KernelPackage/phylib-qcom
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Qualcomm Ethernet PHY library
+ KCONFIG:=CONFIG_QCOM_NET_PHYLIB
+ HIDDEN:=1
+ DEPENDS:=+kmod-libphy
+ FILES:=$(LINUX_DIR)/drivers/net/phy/qcom/qcom-phy-lib.ko
+ AUTOLOAD:=$(call AutoLoad,17,qcom-phy-lib)
+endef
+
+$(eval $(call KernelPackage,phylib-qcom))
+
+
define KernelPackage/phy-amd
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=AMD PHY driver
$(eval $(call KernelPackage,phy-amd))
+define KernelPackage/phy-at803x
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Qualcomm Atheros 8337 internal PHY
+ KCONFIG:=CONFIG_AT803X_PHY
+ DEPENDS:=+kmod-phylib-qcom
+ FILES:=$(LINUX_DIR)/drivers/net/phy/qcom/at803x.ko
+ AUTOLOAD:=$(call AutoLoad,18,at803x,1)
+endef
+
+$(eval $(call KernelPackage,phy-at803x))
+
+
define KernelPackage/phy-ax88796b
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Asix PHY driver
$(eval $(call KernelPackage,phy-bcm84881))
+define KernelPackage/phy-intel-xway
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Intel XWAY PHYs
+ KCONFIG:=CONFIG_INTEL_XWAY_PHY
+ DEPENDS:=+kmod-libphy
+ FILES:=$(LINUX_DIR)/drivers/net/phy/intel-xway.ko
+ AUTOLOAD:=$(call AutoLoad,18,intel-xway,1)
+endef
+
+define KernelPackage/phy-intel-xway/description
+ Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
+ These PHYs are marked as standalone chips under the names
+ PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
+ SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
+endef
+
+$(eval $(call KernelPackage,phy-intel-xway))
+
+
+define KernelPackage/phy-qca83xx
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Qualcomm Atheros QCA833x PHY driver
+ KCONFIG:=CONFIG_QCA83XX_PHY
+ DEPENDS:=+kmod-phylib-qcom
+ FILES:=$(LINUX_DIR)/drivers/net/phy/qcom/qca83xx.ko
+ AUTOLOAD:=$(call AutoLoad,18,qca83xx,1)
+endef
+
+$(eval $(call KernelPackage,phy-qca83xx))
+
+
define KernelPackage/phy-marvell
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Marvell Gigabit Ethernet PHY driver
$(eval $(call KernelPackage,phy-marvell-10g))
+
+define KernelPackage/phy-micrel
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Micrel PHYs
+ KCONFIG:=CONFIG_MICREL_PHY
+ DEPENDS:=+kmod-libphy +kmod-ptp
+ FILES:=$(LINUX_DIR)/drivers/net/phy/micrel.ko
+ AUTOLOAD:=$(call AutoLoad,18,micrel,1)
+endef
+
+define KernelPackage/phy-micrel/description
+ Supports the KSZ9021, VSC8201, KS8001 PHYs.
+endef
+
+$(eval $(call KernelPackage,phy-micrel))
+
+
define KernelPackage/phy-realtek
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Realtek Ethernet PHY driver
$(eval $(call KernelPackage,phy-smsc))
+define KernelPackage/phy-vitesse
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Vitesse PHYs
+ KCONFIG:=CONFIG_VITESSE_PHY
+ DEPENDS:=+kmod-libphy
+ FILES:=$(LINUX_DIR)/drivers/net/phy/vitesse.ko
+ AUTOLOAD:=$(call AutoLoad,18,vitesse,1)
+endef
+
+define KernelPackage/phy-vitesse/description
+ Currently supports the vsc8244
+endef
+
+$(eval $(call KernelPackage,phy-vitesse))
+
+
define KernelPackage/phy-airoha-en8811h
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Airoha EN8811H 2.5G Ethernet PHY