diff options
author | John Crispin <blogic@openwrt.org> | 2015-05-29 12:25:34 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-05-29 12:25:34 +0000 |
commit | 8b5f3f7d6b5ec623112c0c515edd934451108834 (patch) | |
tree | 534fd676c2458268667a6fa4b8f451192226bcf8 /package/kernel/linux | |
parent | 76543def1cbd8d4c3c5fa33f7f660ed98fb315f2 (diff) | |
download | upstream-8b5f3f7d6b5ec623112c0c515edd934451108834.tar.gz upstream-8b5f3f7d6b5ec623112c0c515edd934451108834.tar.bz2 upstream-8b5f3f7d6b5ec623112c0c515edd934451108834.zip |
kernel: add stmmac as a new kernel package
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45829 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 9dd18f311f..62fd949e04 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -811,6 +811,27 @@ endef $(eval $(call KernelPackage,vmxnet3)) +define KernelPackage/stmmac + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=STMicro 10/100/1000 Ethernet driver + DEPENDS:=+kmod-mii +kmod-ptp + KCONFIG:=CONFIG_NET_VENDOR_STMICRO=y \ + CONFIG_STMMAC_ETH \ + CONFIG_STMMAC_PLATFORM=y \ + CONFIG_STMMAC_DEBUG_FS=y \ + CONFIG_STMMAC_DA=y \ + CONFIG_DWMAC_IPQ806X=y + FILES:=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/stmmac.ko + AUTOLOAD:=$(call AutoLoad,50,stmmac.ko) +endef + +define KernelPackage/stmmac/description + Kernel module for STMicroelectronics 10/100/1000 Ethernet driver +endef + +$(eval $(call KernelPackage,stmmac)) + + define KernelPackage/spi-ks8995 SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Micrel/Kendin KS8995 Ethernet switch control |