diff options
author | John Crispin <blogic@openwrt.org> | 2007-10-12 22:20:04 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2007-10-12 22:20:04 +0000 |
commit | 67c2279ec5bad2d1f053dc0b3ca33a52f9f767f9 (patch) | |
tree | 17635c1d650657d2b30bd894beae76685916b71d /target/linux/atheros/patches | |
parent | dfa79a2c6d61bf75b2f6ad46fb38672fd7d8a586 (diff) | |
download | master-187ad058-67c2279ec5bad2d1f053dc0b3ca33a52f9f767f9.tar.gz master-187ad058-67c2279ec5bad2d1f053dc0b3ca33a52f9f767f9.tar.bz2 master-187ad058-67c2279ec5bad2d1f053dc0b3ca33a52f9f767f9.zip |
add atheros patch to enable annoying printks as atheros eth driver has no cheksum support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9274 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches')
-rw-r--r-- | target/linux/atheros/patches/150-bridge-printk.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/atheros/patches/150-bridge-printk.patch b/target/linux/atheros/patches/150-bridge-printk.patch new file mode 100644 index 0000000000..0a35d89beb --- /dev/null +++ b/target/linux/atheros/patches/150-bridge-printk.patch @@ -0,0 +1,26 @@ +--- linux-2.6.23.orig/net/core/dev.c 2007-10-12 23:42:06.000000000 +0200 ++++ linux-2.6.23/net/core/dev.c 2007-10-12 23:44:22.000000000 +0200 +@@ -3425,8 +3425,8 @@ + /* 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; + } + +@@ -3439,9 +3439,9 @@ + } + 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)) { |