From 042fb8eb57bfb7aba295831579a4f48c11d642f0 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 28 Jul 2014 11:12:25 +0000 Subject: brcm63xx: 3.14: fix ath9k_pci_fixup Since kernel commit 928bea964827 ("PCI: Delay enabling bridges until they're needed"), pci fixups are run with bridges (e.g. the pcie port) disabled. This causses hangs when ath9k_pci_fixup tries to manually enable the device to apply the register fixups. Fix this by enabling any parent bridges before trying to access the device itself. Fixes boot on DSL-274XB rev F1. Reported-by: Matteo Croce Signed-off-by: Jonas Gorski SVN-Revision: 41856 --- .../brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch') 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 0809d78..24b91bb 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 @@ -21,7 +21,7 @@ /* --- a/arch/mips/bcm63xx/pci-ath9k-fixup.c +++ b/arch/mips/bcm63xx/pci-ath9k-fixup.c -@@ -174,12 +174,14 @@ static void ath9k_pci_fixup(struct pci_d +@@ -181,12 +181,14 @@ static void ath9k_pci_fixup(struct pci_d } DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATHEROS, PCI_ANY_ID, ath9k_pci_fixup); -- cgit v1.1