Add PCnet32 ethernet support (#3195)
authorFlorian Fainelli <florian@openwrt.org>
Fri, 7 Mar 2008 10:47:23 +0000 (10:47 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 7 Mar 2008 10:47:23 +0000 (10:47 +0000)
SVN-Revision: 10558

package/kernel/modules/network.mk
target/linux/x86/config-2.6.23
target/linux/x86/mediacenter/config-2.6.23

index 03fb8a36000a29cdb58be87de9354435b4fb38eb..f15517b814fb652f263726be5562a542e7732506 100644 (file)
@@ -716,6 +716,22 @@ endef
 
 $(eval $(call KernelPackage,3c59x))
 
+define KernelPackage/pcnet32
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  TITLE:=AMD PCnet32 PCI support
+  DEPENDS:=@TARGET_x86
+  KCONFIG:=CONFIG_PCNET32
+  FILES:=$(LINUX_DIR)/drivers/net/pcnet32.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50,pcnet32)
+endef
+
+define KernelPackage/pcnet32/description
+ Kernel modules for AMD PCnet32 Ethernet adapters.
+endef
+
+$(eval $(call KernelPackage,pcnet32))
+
+
 define KernelPackage/tg3
   TITLE:=Broadcom Tigon3 Gigabit Ethernet
   FILES:=$(LINUX_DIR)/drivers/net/tg3.$(LINUX_KMOD_SUFFIX)
index c12a2f95cffb246f8177afcd65ddc4903cdc3a67..9b76778d0311fa5be12b10c8e5def97b98a9074b 100644 (file)
@@ -273,6 +273,8 @@ CONFIG_PCMCIA=m
 CONFIG_PCMCIA_IOCTL=y
 CONFIG_PCMCIA_LOAD_CIS=y
 CONFIG_PCMCIA_PROBE=y
+CONFIG_PCNET32=m
+CONFIG_PCNET32_NAPI=y
 # CONFIG_PCWATCHDOG is not set
 CONFIG_PHYSICAL_ALIGN=0x100000
 CONFIG_PHYSICAL_START=0x100000
index a5ce3dc8d33e9050fd8b7ad5678707a8d8bf1332..8845ba1b5c3f7545a09c21005c2cb02d404a8287 100644 (file)
@@ -290,6 +290,8 @@ CONFIG_PCMCIA=m
 CONFIG_PCMCIA_IOCTL=y
 CONFIG_PCMCIA_LOAD_CIS=y
 CONFIG_PCMCIA_PROBE=y
+CONFIG_PCNET32=m
+CONFIG_PCNET32_NAPI=y
 # CONFIG_PCWATCHDOG is not set
 CONFIG_PHYSICAL_ALIGN=0x100000
 CONFIG_PHYSICAL_START=0x100000