mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
kernel: netdevices: add phy modules
Add support for building multiple phy drivers as kernel modules Signed-off-by: Oskari Lemmela <oskari@lemmela.net> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
6ca5e85514
commit
d51d4477e3
@ -226,6 +226,19 @@ endef
|
||||
$(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
|
||||
@ -242,6 +255,18 @@ endef
|
||||
$(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
|
||||
@ -292,6 +317,37 @@ endef
|
||||
$(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
|
||||
@ -345,6 +401,23 @@ endef
|
||||
|
||||
$(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
|
||||
@ -377,6 +450,22 @@ endef
|
||||
$(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-aquantia
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Aquantia Ethernet PHYs
|
||||
|
Loading…
Reference in New Issue
Block a user