]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] ppc64: PCI device-node failure detection
authorJake Moilanen <moilanen@austin.ibm.com>
Thu, 9 Jun 2005 14:31:12 +0000 (09:31 -0500)
committerPaul Mackerras <paulus@samba.org>
Mon, 29 Aug 2005 00:53:31 +0000 (10:53 +1000)
commit293da76b3d4c2f362f906bce8c5d2e053bdf8d44
tree8df51f65e8fafd152ce0fa57fd0fe9ef56659ef1
parent34153fa3af45d84f3221d9b67ba2ab7e8a220d28
[PATCH] ppc64: PCI device-node failure detection

OpenFirmware marks devices as failed in the device-tree when a hardware
problem is detected.  The kernel needs to fail config reads/writes to
prevent a kernel crash when incorrect data is read.

This patch validates that the device-node is not marked "fail" when
config space reads/writes are attempted.

Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/rtas_pci.c