sys/dev/pci/pci_pci.c
/* Pass request to map MSI/MSI-X message up to parent bridge. */
Pass request to map MSI/MSI-X message up to parent bridge.
Pass request to map MSI / MSI - X message up to parent bridge .
int
pcib_map_msi(device_t pcib, device_t dev, int irq, uint64_t *addr,
    uint32_t *data)
{
	device_t bus;
	int error;
	bus = device_get_parent(pcib);
	error = PCIB_MAP_MSI(device_get_parent(bus), dev, irq, addr, data);
	if (error)
		return (error);
	pci_ht_map_msi(pcib, *addr);
	return (0);
}
int pcib_map_msi ( device_t pcib , device_t dev , int irq , uint64_t * addr , uint32_t * data ) { device_t bus ; int error ; bus = device_get_parent ( pcib ) ; error = PCIB_MAP_MSI ( device_get_parent ( bus ) , dev , irq , addr , data ) ; if ( error ) return ( error ) ; pci_ht_map_msi ( pcib , * addr ) ; return ( 0 ) ; }
Pass request to map MSI/MSI-X message up to parent bridge.
Pass request to map MSI / MSI - X message up to parent bridge .