[PATCH] Support for RTL-8139C+ ethernet adapters
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Sep 2010 03:48:20 +0000 (03:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Sep 2010 03:48:20 +0000 (03:48 +0000)
Signed-off-by: Nathan Williams <nathan@traverse.com.au>
SVN-Revision: 23068

package/kernel/modules/netdevices.mk

index c3f8d1f..69ec517 100644 (file)
@@ -205,6 +205,22 @@ endef
 $(eval $(call KernelPackage,8139too))
 
 
+define KernelPackage/8139cp
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  TITLE:=RealTek RTL-8139C+ PCI Fast Ethernet Adapter kernel support
+  DEPENDS:=@TARGET_x86
+  KCONFIG:=CONFIG_8139CP
+  FILES:=$(LINUX_DIR)/drivers/net/8139cp.ko
+  AUTOLOAD:=$(call AutoLoad,50,8139cp)
+endef
+
+define KernelPackage/8139cp/description
+ Kernel module for RealTek RTL-8139C+ PCI Fast Ethernet adapters.
+endef
+
+$(eval $(call KernelPackage,8139cp))
+
+
 define KernelPackage/r8169
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support