[openwrt/openwrt] kernel: kmod-phy-bcm7xxx: Add driver
LEDE Commits
lede-commits at lists.infradead.org
Fri Jul 25 16:47:48 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/5a04f17857b53644bcbab2485d906dc09470a837
commit 5a04f17857b53644bcbab2485d906dc09470a837
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Jul 20 19:44:42 2025 +0200
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 at hauke-m.de>
---
package/kernel/linux/modules/netdevices.mk | 17 +++++++++++++++++
target/linux/armsr/modules.mk | 2 +-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index e52d6f1e6a..ebd29ce601 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -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
diff --git a/target/linux/armsr/modules.mk b/target/linux/armsr/modules.mk
index d570d7f74e..15fc2f909e 100644
--- a/target/linux/armsr/modules.mk
+++ b/target/linux/armsr/modules.mk
@@ -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
More information about the lede-commits
mailing list