diff options
author | acoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-07-18 18:59:12 +0000 |
---|---|---|
committer | acoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-07-18 18:59:12 +0000 |
commit | c03ed13f88ddea0af500f9b765ff52fb4965c981 (patch) | |
tree | 30fb04162859f1cf3034c16d12149ec7f9864afa /package/kernel | |
parent | 825dbb37aaba84f1b341dc6647ba71f89bb6faa6 (diff) |
package/kernel: modularize ixp4xx_eth driver & marvel 88E6060 phy support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22283 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/modules/netdevices.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index d9e9a3c7e..f4f564a8c 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -36,6 +36,21 @@ endef $(eval $(call KernelPackage,swconfig)) +define KernelPackage/mvswitch + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Marvell 88E6060 switch support + DEPENDS:=+kmod-swconfig + KCONFIG:=CONFIG_MVSWITCH_PHY + FILES:=$(LINUX_DIR)/drivers/net/phy/mvswitch.ko + AUTOLOAD:=$(call AutoLoad,41,mvswitch) +endef + +define KernelPackage/mvswitch/description + Marvell 88E6060 switch support +endef + +$(eval $(call KernelPackage,mvswitch)) + define KernelPackage/switch-ip175c SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=IC+ IP175C/IP178C switch support @@ -155,6 +170,20 @@ endef $(eval $(call KernelPackage,via-velocity)) +define KernelPackage/ixp4xx-eth + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=IXP4xxt Ethernet Adapter kernel support + DEPENDS:=@TARGET_ixp4xx + KCONFIG:=CONFIG_IXP4XX_ETH + FILES:=$(LINUX_DIR)/drivers/net/arm/ixp4xx_eth.ko + AUTOLOAD:=$(call AutoLoad,50,ixp4xx_eth) +endef + +define KernelPackage/ixp4xx-eth/description + Kernel modules for Intel IXP4xx Ethernet chipsets. +endef + +$(eval $(call KernelPackage,ixp4xx-eth)) define KernelPackage/8139too SUBMENU:=$(NETWORK_DEVICES_MENU) |