diff options
author | John Crispin <blogic@openwrt.org> | 2014-10-14 11:32:43 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-10-14 11:32:43 +0000 |
commit | 2663bdb0622e77aad8eb5186ab4ed169aff71dc4 (patch) | |
tree | 98e071a55a9c4b1a2e835f20aef699f0d23e994b /target/linux/rb532/patches-3.14/003-MIPS-rc32434-fix-broken-pci-init.patch | |
parent | f97d4d6b9a73c3f04ae5b225f4eac2aeaaa242fb (diff) | |
download | upstream-2663bdb0622e77aad8eb5186ab4ed169aff71dc4.tar.gz upstream-2663bdb0622e77aad8eb5186ab4ed169aff71dc4.tar.bz2 upstream-2663bdb0622e77aad8eb5186ab4ed169aff71dc4.zip |
rb532: add 3.14 support
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42908 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/patches-3.14/003-MIPS-rc32434-fix-broken-pci-init.patch')
-rw-r--r-- | target/linux/rb532/patches-3.14/003-MIPS-rc32434-fix-broken-pci-init.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/rb532/patches-3.14/003-MIPS-rc32434-fix-broken-pci-init.patch b/target/linux/rb532/patches-3.14/003-MIPS-rc32434-fix-broken-pci-init.patch new file mode 100644 index 0000000000..af6f7ca2c6 --- /dev/null +++ b/target/linux/rb532/patches-3.14/003-MIPS-rc32434-fix-broken-pci-init.patch @@ -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 <juhosg@openwrt.org> +X-Patchwork-Id: 6940 +Message-Id: <1400142944-32147-1-git-send-email-juhosg@openwrt.org> +To: Ralf Baechle <ralf@linux-mips.org> +Cc: linux-mips@linux-mips.org, Gabor Juhos <juhosg@openwrt.org> +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 <wbx@openadk.org> +Signed-off-by: Gabor Juhos <juhosg@openwrt.org> + +--- +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 + }; |