From: Gabor Juhos Date: Thu, 23 Aug 2012 13:35:26 +0000 (+0200) Subject: MIPS: pci-ar724x: avoid data bus error due to a missing PCIe module X-Git-Tag: v3.6-rc4~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1dca315ce3f78347bca8ce8befe3cc71ae63b7e;p=pandora-kernel.git MIPS: pci-ar724x: avoid data bus error due to a missing PCIe module If the controller has no PCIe module attached, accessing of the device configuration space causes a data bus error. Avoid this by checking the status of the PCIe link in advance, and indicate an error if the link is down. Signed-off-by: Gabor Juhos Cc: stable@vger.kernel.org Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/4293/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed