FreeBSD/sys/dev/pci/pci_pci.c
/* Pass request to alloc MSI/MSI-X messages up to the parent bridge. */
Pass request to alloc MSI/MSI-X messages up to the parent bridge.
Pass request to alloc MSI / MSI - X messages up to the parent bridge .
int
pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs)
{
	struct pcib_softc *sc = device_get_softc(pcib);
	device_t bus;
	if (sc->flags & PCIB_DISABLE_MSI)
		return (ENXIO);
	bus = device_get_parent(pcib);
	return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
	    irqs));
}
int pcib_alloc_msi ( device_t pcib , device_t dev , int count , int maxcount , int * irqs ) { struct pcib_softc * sc = device_get_softc ( pcib ) ; device_t bus ; if ( sc -> flags & PCIB_DISABLE_MSI ) return ( ENXIO ) ; bus = device_get_parent ( pcib ) ; return ( PCIB_ALLOC_MSI ( device_get_parent ( bus ) , dev , count , maxcount , irqs ) ) ; }
Pass request to alloc MSI/MSI-X messages up to the parent bridge.
Pass request to alloc MSI / MSI - X messages up to the parent bridge .