kernel: kmod-phy-bcm7xxx: Add driver
The CONFIG_BCMGENET kernel config option will select this driver. Add the driver to the kernel config menu and make kmod-bcmgenet depend on it. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
1ba25858ff
commit
5a04f17857
|
@ -374,6 +374,23 @@ endef
|
|||
$(eval $(call KernelPackage,phy-broadcom))
|
||||
|
||||
|
||||
define KernelPackage/phy-bcm7xxx
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Broadcom 7xxx SOCs internal PHYs
|
||||
KCONFIG:=CONFIG_BCM7XXX_PHY
|
||||
DEPENDS:=+kmod-libphy +kmod-phylib-broadcom
|
||||
FILES:=$(LINUX_DIR)/drivers/net/phy/bcm7xxx.ko
|
||||
AUTOLOAD:=$(call AutoLoad,18,bcm7xxx,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/phy-bcm7xxx/description
|
||||
Currently supports the BCM7366, BCM7439, BCM7445, and
|
||||
40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,phy-bcm7xxx))
|
||||
|
||||
|
||||
define KernelPackage/phy-bcm84881
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Broadcom BCM84881 PHY driver
|
||||
|
|
|
@ -15,7 +15,7 @@ $(eval $(call KernelPackage,acpi-mdio))
|
|||
|
||||
define KernelPackage/bcmgenet
|
||||
SUBMENU=$(NETWORK_DEVICES_MENU)
|
||||
DEPENDS:=@TARGET_armsr +kmod-mdio-bcm-unimac
|
||||
DEPENDS:=@TARGET_armsr +kmod-mdio-bcm-unimac +kmod-phy-bcm7xxx
|
||||
TITLE:=Broadcom GENET internal MAC (Raspberry Pi 4)
|
||||
KCONFIG:=CONFIG_BCMGENET
|
||||
FILES=$(LINUX_DIR)/drivers/net/ethernet/broadcom/genet/genet.ko
|
||||
|
|
Loading…
Reference in New Issue