PCI Error Recovery API Proposal (updated)

Grant Grundler grundler at parisc-linux.org
Fri Apr 8 00:46:24 EST 2005

On Thu, Apr 07, 2005 at 09:16:08AM +1000, Benjamin Herrenschmidt wrote:
> The token should be an opaque type with accessors.

Is the intent to let arch specific code determine the contents?
If so, shouldn't pci_error_detected() return the a pci_error_code
type instead of an int?

> The idea is to
> define accessors which return an error when the data requested isn't
> present in the error info. The actual content of the token is to be
> defined. I was thinking about a type plus a union. I was hoping Seto
> could provide something here ...

This is the corner stone of the interface.
I think it needs to be defined and how to use it.


More information about the Linuxppc64-dev mailing list