Author: blogic Date: 2014-07-04 10:28:40 +0200 (Fri, 04 Jul 2014) New Revision: 41507
Added: trunk/target/linux/rb532/patches-3.10/003-MIPS-rc32434-fix-broken-pci-init.patch Removed: trunk/target/linux/ar71xx/patches-3.10/616-MIPS-rc32434-fix-broken-pci-init.patch Log: ar71xx/rb532: move rc32434-fix-broken-pci.patch to the correct target Signed-off-by: John Crispin <[email protected]> Deleted: trunk/target/linux/ar71xx/patches-3.10/616-MIPS-rc32434-fix-broken-pci-init.patch =================================================================== --- trunk/target/linux/ar71xx/patches-3.10/616-MIPS-rc32434-fix-broken-pci-init.patch 2014-07-04 08:23:19 UTC (rev 41506) +++ trunk/target/linux/ar71xx/patches-3.10/616-MIPS-rc32434-fix-broken-pci-init.patch 2014-07-04 08:28:40 UTC (rev 41507) @@ -1,37 +0,0 @@ -From patchwork Thu May 15 08:35:44 2014 -Content-Type: text/plain; charset="utf-8" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Subject: MIPS: RC32434: fix broken PCI resource initialization -From: Gabor Juhos <[email protected]> -X-Patchwork-Id: 6940 -Message-Id: <[email protected]> -To: Ralf Baechle <[email protected]> -Cc: [email protected], Gabor Juhos <[email protected]> -Date: Thu, 15 May 2014 10:35:44 +0200 - -The parent field of the 'rc32434_res_pci_mem1' resource points to -the resource itself which is obviously wrong. Due to the broken -initialitazion, the PCI devices on the Mikrotik RB532 boards are -not working since commit 22283178 (MIPS: avoid possible resource -conflict in register_pci_controller). - -Remove the field initialization to fix the issue. - -Reported-by: Waldemar Brodkorb <[email protected]> -Signed-off-by: Gabor Juhos <[email protected]> - ---- -arch/mips/pci/pci-rc32434.c | 1 - - 1 file changed, 1 deletion(-) - ---- a/arch/mips/pci/pci-rc32434.c -+++ b/arch/mips/pci/pci-rc32434.c -@@ -53,7 +53,6 @@ static struct resource rc32434_res_pci_m - .start = 0x50000000, - .end = 0x5FFFFFFF, - .flags = IORESOURCE_MEM, -- .parent = &rc32434_res_pci_mem1, - .sibling = NULL, - .child = &rc32434_res_pci_mem2 - }; Copied: trunk/target/linux/rb532/patches-3.10/003-MIPS-rc32434-fix-broken-pci-init.patch (from rev 41506, trunk/target/linux/ar71xx/patches-3.10/616-MIPS-rc32434-fix-broken-pci-init.patch) =================================================================== --- trunk/target/linux/rb532/patches-3.10/003-MIPS-rc32434-fix-broken-pci-init.patch (rev 0) +++ trunk/target/linux/rb532/patches-3.10/003-MIPS-rc32434-fix-broken-pci-init.patch 2014-07-04 08:28:40 UTC (rev 41507) @@ -0,0 +1,37 @@ +From patchwork Thu May 15 08:35:44 2014 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Subject: MIPS: RC32434: fix broken PCI resource initialization +From: Gabor Juhos <[email protected]> +X-Patchwork-Id: 6940 +Message-Id: <[email protected]> +To: Ralf Baechle <[email protected]> +Cc: [email protected], Gabor Juhos <[email protected]> +Date: Thu, 15 May 2014 10:35:44 +0200 + +The parent field of the 'rc32434_res_pci_mem1' resource points to +the resource itself which is obviously wrong. Due to the broken +initialitazion, the PCI devices on the Mikrotik RB532 boards are +not working since commit 22283178 (MIPS: avoid possible resource +conflict in register_pci_controller). + +Remove the field initialization to fix the issue. + +Reported-by: Waldemar Brodkorb <[email protected]> +Signed-off-by: Gabor Juhos <[email protected]> + +--- +arch/mips/pci/pci-rc32434.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/arch/mips/pci/pci-rc32434.c ++++ b/arch/mips/pci/pci-rc32434.c +@@ -53,7 +53,6 @@ static struct resource rc32434_res_pci_m + .start = 0x50000000, + .end = 0x5FFFFFFF, + .flags = IORESOURCE_MEM, +- .parent = &rc32434_res_pci_mem1, + .sibling = NULL, + .child = &rc32434_res_pci_mem2 + }; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
