summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-20 17:56:24 +0000
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-20 17:56:24 +0000
commit371bb6f94416223be7b002fe7215ebeeba752af1 (patch)
tree9eddcbe2901556ef791a84b5b329d0bf02e322da /package
parentbfc26bdfda1f8d4216871d473e9a4fefb0bcef50 (diff)
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')
-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 142271f0e..03fb8a360 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))