kernel: backport some bcma header file definitions from wireless-testing
[openwrt/openwrt.git] / target / linux / generic / patches-4.3 / 020-bcma-from-4.4.patch
diff --git a/target/linux/generic/patches-4.3/020-bcma-from-4.4.patch b/target/linux/generic/patches-4.3/020-bcma-from-4.4.patch
new file mode 100644 (file)
index 0000000..5704081
--- /dev/null
@@ -0,0 +1,26 @@
+commit 55acca90da52b85299c033354e51ddaa7b73e019
+Author: Hante Meuleman <meuleman@broadcom.com>
+Date:   Fri Sep 18 22:08:17 2015 +0200
+
+    brcmfmac: Add support for the BCM4365 and BCM4366 PCIE devices.
+    
+    This patch adds support for the BCM4365 and BCM4366 11ac Wave2
+    PCIE devices.
+    
+    Reviewed-by: Arend Van Spriel <arend@broadcom.com>
+    Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
+    Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
+    Signed-off-by: Arend van Spriel <arend@broadcom.com>
+    Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
+
+--- a/include/linux/bcma/bcma.h
++++ b/include/linux/bcma/bcma.h
+@@ -151,6 +151,8 @@ struct bcma_host_ops {
+ #define BCMA_CORE_PCIE2                       0x83C   /* PCI Express Gen2 */
+ #define BCMA_CORE_USB30_DEV           0x83D
+ #define BCMA_CORE_ARM_CR4             0x83E
++#define BCMA_CORE_ARM_CA7             0x847
++#define BCMA_CORE_SYS_MEM             0x849
+ #define BCMA_CORE_DEFAULT             0xFFF
+ #define BCMA_MAX_NR_CORES             16