提交 66ef3fab 编写于 作者: G Gabor Juhos 提交者: Ralf Baechle

MIPS: RC32434: fix broken PCI resource initialization

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.
Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
Reported-by: NWaldemar Brodkorb <wbx@openadk.org>
Cc: linux-mips@linux-mips.org
Cc: Gabor Juhos <juhosg@openwrt.org>
Patchwork: https://patchwork.linux-mips.org/patch/6940/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 2ff89d64
...@@ -53,7 +53,6 @@ static struct resource rc32434_res_pci_mem1 = { ...@@ -53,7 +53,6 @@ static struct resource rc32434_res_pci_mem1 = {
.start = 0x50000000, .start = 0x50000000,
.end = 0x5FFFFFFF, .end = 0x5FFFFFFF,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
.parent = &rc32434_res_pci_mem1,
.sibling = NULL, .sibling = NULL,
.child = &rc32434_res_pci_mem2 .child = &rc32434_res_pci_mem2
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册