sys/dev/pci/pci_pci.c
/* Pass request to alloc an MSI-X message up to the parent bridge. */
Pass request to alloc an MSI-X message up to the parent bridge.
Pass request to alloc an MSI - X message up to the parent bridge .
int
pcib_alloc_msix(device_t pcib, device_t dev, int *irq)
{
	struct pcib_softc *sc = device_get_softc(pcib);
	device_t bus;
	if (sc->flags & PCIB_DISABLE_MSIX)
		return (ENXIO);
	bus = device_get_parent(pcib);
	return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq));
}
int pcib_alloc_msix ( device_t pcib , device_t dev , int * irq ) { struct pcib_softc * sc = device_get_softc ( pcib ) ; device_t bus ; if ( sc -> flags & PCIB_DISABLE_MSIX ) return ( ENXIO ) ; bus = device_get_parent ( pcib ) ; return ( PCIB_ALLOC_MSIX ( device_get_parent ( bus ) , dev , irq ) ) ; }
Pass request to alloc an MSI-X message up to the parent bridge.
Pass request to alloc an MSI - X message up to the parent bridge .