MIPS: PCI: Prevent hang on XLP reg read
authorJayachandran C <jchandra@broadcom.com>
Mon, 14 Jan 2013 15:11:58 +0000 (15:11 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sat, 16 Feb 2013 23:15:20 +0000 (00:15 +0100)
commit8cd3d64c5714de7e17eccde48837b329f67bd85e
tree98a584e60cd4ec7fbaaebf04c85f2dc04b12e3bd
parent4e45e542cd742c1c3e30e7f252640644c66548b5
MIPS: PCI: Prevent hang on XLP reg read

Reading PCI extended register at 0x255 on a bridge will hang if there
is no device connected on the link. Make PCI read routine skip this
register.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4789/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/pci/pci-xlp.c