aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm47xx/modules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm47xx/modules.mk')
-rw-r--r--target/linux/bcm47xx/modules.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/bcm47xx/modules.mk b/target/linux/bcm47xx/modules.mk
new file mode 100644
index 0000000000..cd46901a3b
--- /dev/null
+++ b/target/linux/bcm47xx/modules.mk
@@ -0,0 +1,24 @@
+#
+# Copyright (C) 2006-2012 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define KernelPackage/bgmac
+ TITLE:=Broadcom bgmac driver
+ KCONFIG:=CONFIG_BGMAC CONFIG_BGMAC_BCMA
+ DEPENDS:=@TARGET_bcm47xx @!TARGET_bcm47xx_legacy
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ 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
+ Kernel modules for Broadcom bgmac Ethernet adapters.
+endef
+
+$(eval $(call KernelPackage,bgmac))