summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-08-01 21:56:38 +0000
committerJonas Gorski <jogo@openwrt.org>2014-08-01 21:56:38 +0000
commit76746026b336fe34b9a4da5f4b8d53547d95a11c (patch)
treeb80fd8f3d59b4cc7784a8e1e01ce375d5ef4a0b0 /target/linux/brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch
parentfaa51b307cfdbec28f474b48699358064e0f99c7 (diff)
downloadmaster-31e0f0ae-76746026b336fe34b9a4da5f4b8d53547d95a11c.tar.gz
master-31e0f0ae-76746026b336fe34b9a4da5f4b8d53547d95a11c.tar.bz2
master-31e0f0ae-76746026b336fe34b9a4da5f4b8d53547d95a11c.zip
brcm63xx: rework fallback sprom support
Rework fallback sprom support by providing different sproms for different chips. Also make it optional to use. This likely causes sprom fallback support to break on a few boards. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41942
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch b/target/linux/brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch
index 24b91bbb56..2c85d34165 100644
--- a/target/linux/brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch
+++ b/target/linux/brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch
@@ -11,7 +11,7 @@
#endif /* _PCI_ATH9K_FIXUP */
--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -19,6 +19,7 @@
+@@ -20,6 +20,7 @@
struct ath9k_caldata {
unsigned int slot;
u32 caldata_offset;
@@ -21,7 +21,7 @@
/*
--- a/arch/mips/bcm63xx/pci-ath9k-fixup.c
+++ b/arch/mips/bcm63xx/pci-ath9k-fixup.c
-@@ -181,12 +181,14 @@ static void ath9k_pci_fixup(struct pci_d
+@@ -184,12 +184,14 @@ static void ath9k_pci_fixup(struct pci_d
}
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATHEROS, PCI_ANY_ID, ath9k_pci_fixup);
@@ -39,7 +39,7 @@
return;
--- a/arch/mips/bcm63xx/boards/board_common.c
+++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -294,7 +294,8 @@ int __init board_register_devices(void)
+@@ -251,7 +251,8 @@ int __init board_register_devices(void)
/* register any fixups */
for (i = 0; i < board.has_caldata; i++)