On Sunday, August 03, 2008 11:02 am James Bottomley wrote:
This seems to be a function that just returns what type of IRQ you're using or
how it's routed and it isn't necessarily "lost interrupt" specific.
This information is clearly useful to drivers both for informational purposes
and for debugging problems, so on that front it looks good. However, I think
it should probably be called pci_interrupt_type(struct pci_dev *dev) or
something instead, and just return an enum of either MSIX, MSI, or LINE
(though I'm open to better names). From that, the driver can infer what
might be going wrong, though in the case of a LINE interrupt, all you can
really do is report that there's probably a platform IRQ routing problem.
Jesse
--