diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-02-07 21:07:54 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-02-07 23:00:16 +0100 |
commit | 96aa0c6b0b179518e0c228362ea55f1c7793bb3a (patch) | |
tree | 3244114239a7bbf380ee9fa76680b55e459e06c0 /target/linux/brcm2708/patches-4.9/0127-ARM64-Fix-build-break-for-RTL8187-RTL8192CU-wifi.patch | |
parent | 6b5c3fd055f64ce0f9d111820123caf33632a51f (diff) | |
download | upstream-96aa0c6b0b179518e0c228362ea55f1c7793bb3a.tar.gz upstream-96aa0c6b0b179518e0c228362ea55f1c7793bb3a.tar.bz2 upstream-96aa0c6b0b179518e0c228362ea55f1c7793bb3a.zip |
brcm2708: add linux 4.9 support
Patches from Raspberry Pi repo:
https://github.com/raspberrypi/linux/commits/rpi-4.9.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.9/0127-ARM64-Fix-build-break-for-RTL8187-RTL8192CU-wifi.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.9/0127-ARM64-Fix-build-break-for-RTL8187-RTL8192CU-wifi.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.9/0127-ARM64-Fix-build-break-for-RTL8187-RTL8192CU-wifi.patch b/target/linux/brcm2708/patches-4.9/0127-ARM64-Fix-build-break-for-RTL8187-RTL8192CU-wifi.patch new file mode 100644 index 0000000000..78cb1d386c --- /dev/null +++ b/target/linux/brcm2708/patches-4.9/0127-ARM64-Fix-build-break-for-RTL8187-RTL8192CU-wifi.patch @@ -0,0 +1,33 @@ +From d2ab394e853bafeeadb911155b1621886c299d5f Mon Sep 17 00:00:00 2001 +From: Michael Zoran <mzoran@crowfest.net> +Date: Sun, 15 Jan 2017 07:25:18 -0800 +Subject: [PATCH] ARM64: Fix build break for RTL8187/RTL8192CU wifi + +These drivers use an ASM function from the base +system to compute the ipv6 checksum. These functions +are not available on ARM64, probably because nobody +has bother to write them. The base system does have +a generic "C" version, so a simple fix is to include +the header to use the generic version on ARM64 only. + +A longer term solution would be to submit the necessary +ASM function to the upstream source. + +With this change, these drivers now compile without +any errors on ARM64. + +Signed-off-by: Michael Zoran <mzoran@crowfest.net> +--- + drivers/net/wireless/realtek/rtl8192cu/core/rtw_br_ext.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/net/wireless/realtek/rtl8192cu/core/rtw_br_ext.c ++++ b/drivers/net/wireless/realtek/rtl8192cu/core/rtw_br_ext.c +@@ -51,6 +51,7 @@ + #include <linux/icmpv6.h> + #include <net/ndisc.h> + #include <net/checksum.h> ++#include <net/ip6_checksum.h> + #endif + #endif + |