From: Florian Fainelli Date: Fri, 21 May 2010 09:53:55 +0000 (+0000) Subject: add kmod-swconfig and kmod-swich-ip175c X-Git-Tag: v19.07.0-rc1~30486 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=22eaf8b658736a1dd2fbf28c61abc720ff0ff4fb;p=openwrt%2Fstaging%2Fhauke.git add kmod-swconfig and kmod-swich-ip175c SVN-Revision: 21520 --- diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index 5c439ab29e..d723368ceb 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