AMD PCnet32 is used by VirtualBox, thus the module pcnet32.ko is  
needed to get the network running for openwrt as a VirtualBox Guest.


Signed-off-by: Lorenz Schori <[EMAIL PROTECTED]>
---
Index: target/linux/x86/config-2.6.23
===================================================================
--- target/linux/x86/config-2.6.23      (revision 10543)
+++ target/linux/x86/config-2.6.23      (working copy)
@@ -273,6 +273,8 @@
  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: package/kernel/modules/network.mk
===================================================================
--- package/kernel/modules/network.mk   (revision 10543)
+++ package/kernel/modules/network.mk   (working copy)
@@ -741,3 +741,17 @@
   Kernel modules for Broadcom SSB Gigabit Ethernet adapters.
  endef
  $(eval $(call KernelPackage,ssb-gige))
+
+
+define KernelPackage/pcnet32
+  TITLE:=AMD PCnet32 Ethernet. (used in VirtualBox)
+  KCONFIG:=CONFIG_PCNET32=y
+  DEPENDS:[EMAIL PROTECTED]
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  AUTOLOAD:=$(call AutoLoad,50,pcnet32)
+endef
+
+define KernelPackage/pcnet32/description
+ Kernel modules for AMD PCnet32 Ethernet adapters.
+endef
+$(eval $(call KernelPackage,pcnet32))
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to