tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pci_intr_alloc() vs pci_intr_establish() - retry type?
On Fri, Nov 30, 2018 at 02:22:37PM -0400, Jared McNeill wrote:
> The driver can call pci_intr_type on the handle returned by pci_intr_alloc
> to see what kind of interrupt (INTx/MSI/MSI-X) was negotiated.
Yeah, but the fear was that some hardware could either do a single INT
or (lots of) MSI{X}, and now you end up with (lots of) INT returned
from pci_intr_alloc() and can just use the first.
Does this not happen for real world hardware, or is the driver supposed to
check with pci_*_count() upfront?
Martin
Home |
Main Index |
Thread Index |
Old Index