[source] brcm47xx: fix bgmac package

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 4 02:56:06 PST 2017


rmilecki pushed a commit to source.git, branch master:
https://git.lede-project.org/11c41a0ea9bbb63d0ecb007445ec81f0dbc3eec7

commit 11c41a0ea9bbb63d0ecb007445ec81f0dbc3eec7
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Wed Jan 4 11:43:59 2017 +0100

    brcm47xx: fix bgmac package
    
    With all recent patches & changes it needs more modules.
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 target/linux/brcm47xx/modules.mk | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/target/linux/brcm47xx/modules.mk b/target/linux/brcm47xx/modules.mk
index 9146b3f..30478ea 100644
--- a/target/linux/brcm47xx/modules.mk
+++ b/target/linux/brcm47xx/modules.mk
@@ -10,8 +10,11 @@ define KernelPackage/bgmac
   KCONFIG:=CONFIG_BGMAC CONFIG_BGMAC_BCMA
   DEPENDS:=@TARGET_brcm47xx @!TARGET_brcm47xx_legacy
   SUBMENU:=$(NETWORK_DEVICES_MENU)
-  FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac.ko
-  AUTOLOAD:=$(call AutoLoad,19,bgmac,1)
+  FILES:= \
+	$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac-bcma.ko \
+	$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac-bcma-mdio.ko \
+	$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac.ko
+  AUTOLOAD:=$(call AutoProbe,bgmac-bcma)
 endef
 
 define KernelPackage/bgmac/description



More information about the lede-commits mailing list