From 65558ba722c26eeab4a429bb697a29593308fc96 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 30 Oct 2015 15:17:41 +0000 Subject: [PATCH] kernel: backport some bcma header file definitions from wireless-testing Signed-off-by: Felix Fietkau SVN-Revision: 47284 --- .../patches-3.18/029-bcma-from-4.4.patch | 26 +++++++++++++++++++ .../patches-4.1/023-bcma-from-4.4.patch | 26 +++++++++++++++++++ .../patches-4.3/020-bcma-from-4.4.patch | 26 +++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 target/linux/generic/patches-3.18/029-bcma-from-4.4.patch create mode 100644 target/linux/generic/patches-4.1/023-bcma-from-4.4.patch create mode 100644 target/linux/generic/patches-4.3/020-bcma-from-4.4.patch diff --git a/target/linux/generic/patches-3.18/029-bcma-from-4.4.patch b/target/linux/generic/patches-3.18/029-bcma-from-4.4.patch new file mode 100644 index 0000000000..5704081ee4 --- /dev/null +++ b/target/linux/generic/patches-3.18/029-bcma-from-4.4.patch @@ -0,0 +1,26 @@ +commit 55acca90da52b85299c033354e51ddaa7b73e019 +Author: Hante Meuleman +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 + Reviewed-by: Pieter-Paul Giesberts + Signed-off-by: Hante Meuleman + Signed-off-by: Arend van Spriel + Signed-off-by: Kalle Valo + +--- 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 diff --git a/target/linux/generic/patches-4.1/023-bcma-from-4.4.patch b/target/linux/generic/patches-4.1/023-bcma-from-4.4.patch new file mode 100644 index 0000000000..5704081ee4 --- /dev/null +++ b/target/linux/generic/patches-4.1/023-bcma-from-4.4.patch @@ -0,0 +1,26 @@ +commit 55acca90da52b85299c033354e51ddaa7b73e019 +Author: Hante Meuleman +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 + Reviewed-by: Pieter-Paul Giesberts + Signed-off-by: Hante Meuleman + Signed-off-by: Arend van Spriel + Signed-off-by: Kalle Valo + +--- 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 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 index 0000000000..5704081ee4 --- /dev/null +++ b/target/linux/generic/patches-4.3/020-bcma-from-4.4.patch @@ -0,0 +1,26 @@ +commit 55acca90da52b85299c033354e51ddaa7b73e019 +Author: Hante Meuleman +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 + Reviewed-by: Pieter-Paul Giesberts + Signed-off-by: Hante Meuleman + Signed-off-by: Arend van Spriel + Signed-off-by: Kalle Valo + +--- 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 -- 2.30.2