summaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-21 09:53:55 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-21 09:53:55 +0000
commit3a6ab6a0e4fcf860fcceb6ce7a39a95c26b13518 (patch)
treea298c8ce457c24645e918d45e711867fcf24b7b0 /package/kernel
parent26d228d7141f06b9f5a1ca271e6abd7d0d20b606 (diff)
[package] add kmod-swconfig and kmod-swich-ip175c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21520 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/netdevices.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk
index 5c439ab29..d723368ce 100644
--- a/package/kernel/modules/netdevices.mk
+++ b/package/kernel/modules/netdevices.mk
@@ -22,6 +22,36 @@ endef
$(eval $(call KernelPackage,libphy))
+define KernelPackage/swconfig
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=switch configuration API
+ DEPENDS:=+kmod-libphy
+ KCONFIG:=CONFIG_SWCONFIG
+ FILES:=$(LINUX_DIR)/drivers/net/phy/swconfig.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,41,libphy)
+endef
+
+define KernelPackage/swconfig/description
+ Switch configuration API module
+endef
+
+$(eval $(call KernelPackage,swconfig))
+
+define KernelPackage/switch-ip175c
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=IC+ IP175C/IP178C switch support
+ DEPENDS:=+kmod-swconfig
+ KCONFIG:=CONFIG_IP175C_PHY
+ FILES:=$(LINUX_DIR)/drivers/net/phy/ip175c.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,42,ip175c)
+endef
+
+define KernelPackage/switch-ip175c/description
+ IC+ IP175C/IP178C switch support
+endef
+
+$(eval $(call KernelPackage,switch-ip175c))
+
define KernelPackage/natsemi
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=National Semiconductor DP8381x series