sh: pci: Support ports with disabled links on SH7786 PCIe.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 20 Sep 2010 07:12:58 +0000 (16:12 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Sep 2010 07:12:58 +0000 (16:12 +0900)
commitbd792aea441a3dcdede462486ab8c63045803844
tree3b109a3c504cf3b994d3936a6a85145cc59bc631
parentbeb54ad9c6fb60901d9445056d40bdaccdc3e819
sh: pci: Support ports with disabled links on SH7786 PCIe.

Presently we error out if a link is disabled and simply drop the port
registration outright. This follows the PPC changes and simply reports on
the link state on boot, leaving the port registered, in order to more
easily deal with hotplug on future parts.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pcie-sh7786.c