summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-2.6.25/150-bridge-printk.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-03 05:43:29 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-03 05:43:29 +0000
commit7331aafb138b78b507408637eeee71ffe152bb86 (patch)
tree9fa632012e3f27e85112c19dff844093391438bb /target/linux/atheros/patches-2.6.25/150-bridge-printk.patch
parenta6963e51fe812f0ed7a49a35f86acec1076589ae (diff)
[atheros] add .25 patches (kernel boots fine on LS2, LS5, FON2200 and on WRT55AG v2)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11016 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-2.6.25/150-bridge-printk.patch')
-rw-r--r--target/linux/atheros/patches-2.6.25/150-bridge-printk.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.25/150-bridge-printk.patch b/target/linux/atheros/patches-2.6.25/150-bridge-printk.patch
new file mode 100644
index 0000000000..ffff0cd34c
--- /dev/null
+++ b/target/linux/atheros/patches-2.6.25/150-bridge-printk.patch
@@ -0,0 +1,28 @@
+Index: linux-2.6.25.1/net/core/dev.c
+===================================================================
+--- linux-2.6.25.1.orig/net/core/dev.c
++++ linux-2.6.25.1/net/core/dev.c
+@@ -3755,8 +3755,8 @@ int register_netdevice(struct net_device
+ /* Fix illegal SG+CSUM combinations. */
+ if ((dev->features & NETIF_F_SG) &&
+ !(dev->features & NETIF_F_ALL_CSUM)) {
+- printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n",
+- dev->name);
++ //printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n",
++ // dev->name);
+ dev->features &= ~NETIF_F_SG;
+ }
+
+@@ -3769,9 +3769,9 @@ int register_netdevice(struct net_device
+ }
+ if (dev->features & NETIF_F_UFO) {
+ if (!(dev->features & NETIF_F_HW_CSUM)) {
+- printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no "
+- "NETIF_F_HW_CSUM feature.\n",
+- dev->name);
++ //printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no "
++ // "NETIF_F_HW_CSUM feature.\n",
++ // dev->name);
+ dev->features &= ~NETIF_F_UFO;
+ }
+ if (!(dev->features & NETIF_F_SG)) {