From 868fbb706e69147e6e8749e775afaaf6e9396b57 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 25 Jul 2007 15:05:16 +0000 Subject: [PATCH] Remove preinit.arch, not used, compile NAPI support for R6040, change the profile name to ar525w SVN-Revision: 8160 --- target/linux/rdc-2.6/config/default | 1 + target/linux/rdc-2.6/image/preinit.arch | 2 -- target/linux/rdc-2.6/patches/002-r6040_ethernet.patch | 6 +++++- target/linux/rdc-2.6/profiles/{Ralink.mk => AR525W.mk} | 0 4 files changed, 6 insertions(+), 3 deletions(-) delete mode 100644 target/linux/rdc-2.6/image/preinit.arch rename target/linux/rdc-2.6/profiles/{Ralink.mk => AR525W.mk} (100%) diff --git a/target/linux/rdc-2.6/config/default b/target/linux/rdc-2.6/config/default index 9ce729cfaa..9ed3f86268 100644 --- a/target/linux/rdc-2.6/config/default +++ b/target/linux/rdc-2.6/config/default @@ -220,6 +220,7 @@ CONFIG_PHYSICAL_ALIGN=0x100000 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 diff --git a/target/linux/rdc-2.6/image/preinit.arch b/target/linux/rdc-2.6/image/preinit.arch deleted file mode 100644 index 2e88efda56..0000000000 --- a/target/linux/rdc-2.6/image/preinit.arch +++ /dev/null @@ -1,2 +0,0 @@ -mount_root ${FAILSAFE:+failsafe} -exec /bin/busybox init diff --git a/target/linux/rdc-2.6/patches/002-r6040_ethernet.patch b/target/linux/rdc-2.6/patches/002-r6040_ethernet.patch index 333ec36892..a403b0ad18 100644 --- 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 @@ . The module will be called apricot. @@ -18,6 +18,10 @@ diff -urN linux-2.6.17/drivers/net/Kconfig linux-2.6.17.new/drivers/net/Kconfig + . 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 diff --git a/target/linux/rdc-2.6/profiles/Ralink.mk b/target/linux/rdc-2.6/profiles/AR525W.mk similarity index 100% rename from target/linux/rdc-2.6/profiles/Ralink.mk rename to target/linux/rdc-2.6/profiles/AR525W.mk -- 2.25.1