PCI Error Recovery API Proposal. (WAS:: [PATCH/RFC] PCI ErrorRecovery)
benh at kernel.crashing.org
Thu Mar 17 16:30:29 EST 2005
On Wed, 2005-03-16 at 16:00 -0800, Nguyen, Tom L wrote:
> On Wednesday, March 16, 2005 2:40 PM Benjamin Herrenschmidt wrote:
> > Now, if you feel that we should really pass the error token to the
> > callback, then maybe we should go with that, though it only have sense
> > in the initial callback, not the 3 other ones.
> I am glad you agree to update API, as below, to support PCI Express
> comprehensive error information.
> int (*error_handler)(struct pci_dev *dev, union error_src *);
> Please look at my other mail regarding the 3 other ones.
Sure, the API is not burned in stone yet, that's why we are discussing
it still :) Note that I would much prefer the second parameter to be an
opaque token, with separate accessor functions to get to the content.
More information about the Linuxppc64-dev