aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/network.mk
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2008-02-20 17:56:24 +0000
committerMichael Büsch <mb@bu3sch.de>2008-02-20 17:56:24 +0000
commit1a3b1cecfc26731a2825a8e884b596e2f2ab4162 (patch)
tree9eddcbe2901556ef791a84b5b329d0bf02e322da /package/kernel/modules/network.mk
parentb8e8335de0522517b930b8338b44138c0bfc885a (diff)
downloadupstream-1a3b1cecfc26731a2825a8e884b596e2f2ab4162.tar.gz
upstream-1a3b1cecfc26731a2825a8e884b596e2f2ab4162.tar.bz2
upstream-1a3b1cecfc26731a2825a8e884b596e2f2ab4162.zip
bcm47xx: Add driver for the SSB Gigabit Ethernet core.
It doesn't work, yet, but let's commit what we have. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10509 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/network.mk')
-rw-r--r--package/kernel/modules/network.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk
index 142271f0e8..03fb8a3600 100644
--- a/package/kernel/modules/network.mk
+++ b/package/kernel/modules/network.mk
@@ -715,3 +715,29 @@ define KernelPackage/3c59x/description
endef
$(eval $(call KernelPackage,3c59x))
+
+define KernelPackage/tg3
+ TITLE:=Broadcom Tigon3 Gigabit Ethernet
+ FILES:=$(LINUX_DIR)/drivers/net/tg3.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_TIGON3
+ DEPENDS:=@LINUX_2_6
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ AUTOLOAD:=$(call AutoLoad,50,tg3)
+endef
+
+define KernelPackage/tg3/description
+ Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters.
+endef
+$(eval $(call KernelPackage,tg3))
+
+define KernelPackage/ssb-gige
+ TITLE:=Broadcom SSB Gigabit Ethernet
+ KCONFIG:=CONFIG_SSB_DRIVER_GIGE=y
+ DEPENDS:=@TARGET_brcm47xx +kmod-tg3
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+endef
+
+define KernelPackage/ssb-gige/description
+ Kernel modules for Broadcom SSB Gigabit Ethernet adapters.
+endef
+$(eval $(call KernelPackage,ssb-gige))