Remove preinit.arch, not used, compile NAPI support for R6040, change the profile name to ar525w
Remove preinit.arch, not used, compile NAPI support for R6040, change the profile name to ar525w


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8160 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/target/linux/rdc-2.6/config/default
+++ b/target/linux/rdc-2.6/config/default
@@ -220,6 +220,7 @@
 CONFIG_PHYSICAL_START=0x100000
 # CONFIG_PNPACPI is not set
 CONFIG_R6040=m
+CONFIG_R6040_NAPI=y
 # CONFIG_RELOCATABLE is not set
 # CONFIG_RPCSEC_GSS_KRB5 is not set
 # CONFIG_RTC is not set

--- a/target/linux/rdc-2.6/image/preinit.arch
+++ /dev/null
@@ -1,3 +1,1 @@
-mount_root ${FAILSAFE:+failsafe}
-exec /bin/busybox init
 

--- a/target/linux/rdc-2.6/patches/002-r6040_ethernet.patch
+++ b/target/linux/rdc-2.6/patches/002-r6040_ethernet.patch
@@ -1,7 +1,7 @@
 diff -urN linux-2.6.17/drivers/net/Kconfig linux-2.6.17.new/drivers/net/Kconfig
 --- linux-2.6.17/drivers/net/Kconfig	2006-06-18 03:49:35.000000000 +0200
 +++ linux-2.6.17.new/drivers/net/Kconfig	2006-09-25 13:14:27.000000000 +0200
-@@ -1358,6 +1358,19 @@
+@@ -1358,6 +1358,23 @@
  	  <file:Documentation/networking/net-modules.txt>.  The module will be
  	  called apricot.
  
@@ -18,6 +18,10 @@
 +          <file:Documentation/networking/net-modules.txt>.  The module will be
 +          called r6040.
 +
++
++config R6040_NAPI
++	bool "NAPI support for R6040"
++	default y
  config B44
  	tristate "Broadcom 4400 ethernet support (EXPERIMENTAL)"
  	depends on NET_PCI && PCI && EXPERIMENTAL

--- /dev/null
+++ b/target/linux/rdc-2.6/profiles/AR525W.mk
@@ -1,1 +1,14 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
 
+define Profile/ar525w
+  NAME:=AirLink101 AR525W
+  PACKAGES:=kmod-rt61 kmod-r6040
+endef
+$(eval $(call Profile,ar525w))
+
+

--- a/target/linux/rdc-2.6/profiles/Ralink.mk
+++ /dev/null
@@ -1,14 +1,1 @@
-#
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-define Profile/ar525w
-  NAME:=AirLink101 AR525W
-  PACKAGES:=kmod-rt61 kmod-r6040
-endef
-$(eval $(call Profile,ar525w))
-
-

comments