aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.4/1001-smsc95xx-disable-hw-csum.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-10 19:11:23 +0000
committerJohn Crispin <john@openwrt.org>2016-03-10 19:11:23 +0000
commitf78f271c1e2845ce60ac8236505e6baff2b31620 (patch)
tree2f6c15c63cbed0cf71b15103b07ddccec28c667d /target/linux/brcm2708/patches-4.4/1001-smsc95xx-disable-hw-csum.patch
parent48e6ccc4e183ce6d64bf374dec8dffbd7a7d6748 (diff)
downloadupstream-f78f271c1e2845ce60ac8236505e6baff2b31620.tar.gz
upstream-f78f271c1e2845ce60ac8236505e6baff2b31620.tar.bz2
upstream-f78f271c1e2845ce60ac8236505e6baff2b31620.zip
brcm2708: update patches to latest version
As usual these patches were extracted from the raspberry repo: https://github.com/raspberrypi/linux/commits/rpi-4.4.y - Disable unused MFD RPISENSE driver. - Disable ethernet HW checksums in order to avoid kernel exceptions. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48985
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/1001-smsc95xx-disable-hw-csum.patch')
-rw-r--r--target/linux/brcm2708/patches-4.4/1001-smsc95xx-disable-hw-csum.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.4/1001-smsc95xx-disable-hw-csum.patch b/target/linux/brcm2708/patches-4.4/1001-smsc95xx-disable-hw-csum.patch
new file mode 100644
index 0000000000..eff1f0049c
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.4/1001-smsc95xx-disable-hw-csum.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/usb/smsc95xx.c
++++ b/drivers/net/usb/smsc95xx.c
+@@ -42,7 +42,7 @@
+ #define LAN95XX_EEPROM_MAGIC (0x9500)
+ #define EEPROM_MAC_OFFSET (0x01)
+ #define DEFAULT_TX_CSUM_ENABLE (true)
+-#define DEFAULT_RX_CSUM_ENABLE (true)
++#define DEFAULT_RX_CSUM_ENABLE (false)
+ #define SMSC95XX_INTERNAL_PHY_ID (1)
+ #define SMSC95XX_TX_OVERHEAD (8)
+ #define SMSC95XX_TX_OVERHEAD_CSUM (12)