MIPS/PCI: Let Loongson-3 pci_ops access extended config space
authorHuacai Chen <chenhc@lemote.com>
Thu, 20 Sep 2018 01:11:03 +0000 (09:11 +0800)
committerPaul Burton <paul.burton@mips.com>
Thu, 20 Sep 2018 01:57:30 +0000 (18:57 -0700)
commit8250a9b43b257f05c2aba6e8367fa636b630b0a2
tree018a56062fee9d627328d4ed4a7d2245b9432b17
parentc824ad164760484f709daa1339df40a184f4170a
MIPS/PCI: Let Loongson-3 pci_ops access extended config space

Original Loongson-3 pci_ops can only access standard pci config space,
this patch let it be able to access extended pci config space.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
[paul.burton@mips.com: Tweaks to fix checkpatch warnings, reverse xmas tree]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20707/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: Huacai Chen <chenhuacai@gmail.com>
arch/mips/pci/ops-loongson3.c