OSDN Git Service

powerpc/pseries/eeh: Handle functional reset on non-PCIe device
authorRichard A Lary <rlary@linux.vnet.ibm.com>
Fri, 22 Apr 2011 10:00:05 +0000 (10:00 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 4 May 2011 06:02:38 +0000 (16:02 +1000)
commitecb7390211fe9cb14ff0bae116a3f4f1149c0b6c
tree07963d208f1936465ce5a7a3b1ff0446c5532873
parent308fc4f8e10b5239cde46104bb9fca79b46230c8
powerpc/pseries/eeh: Handle functional reset on non-PCIe device

  Fundamental reset is an optional reset type supported only by PCIe adapters.
  Handle the unexpected case where a non-PCIe device has requested a
  fundamental reset. Try hot-reset as a fallback to handle this case.

Signed-off-by: Richard A Lary <rlary@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/eeh.c