FreeBSD/sys/dev/pci/pci.c
/*
 * Determine if MSI-X is blacklisted globally on this system.  If MSI
 * is blacklisted, assume that MSI-X is as well.  Check for additional
 * chipsets where MSI works but MSI-X does not.
 */
Determine if MSI-X is blacklisted globally on this system.  If MSI
is blacklisted, assume that MSI-X is as well.  Check for additional
chipsets where MSI works but MSI-X does not.
Determine if MSI - X is blacklisted globally on this system . If MSI is blacklisted assume that MSI - X is as well . Check for additional chipsets where MSI works but MSI - X does not .
static int
pci_msix_blacklisted(void)
{
	device_t dev;
	if (!pci_honor_msi_blacklist)
		return (0);
	dev = pci_find_bsf(0, 0, 0);
	if (dev != NULL && pci_has_quirk(pci_get_devid(dev),
	    PCI_QUIRK_DISABLE_MSIX))
		return (1);
	return (pci_msi_blacklisted());
}
static int pci_msix_blacklisted ( void ) { device_t dev ; if ( ! pci_honor_msi_blacklist ) return ( 0 ) ; dev = pci_find_bsf ( 0 , 0 , 0 ) ; if ( dev != NULL && pci_has_quirk ( pci_get_devid ( dev ) , PCI_QUIRK_DISABLE_MSIX ) ) return ( 1 ) ; return ( pci_msi_blacklisted ( ) ) ; }
Determine if MSI-X is blacklisted globally on this system.
Determine if MSI - X is blacklisted globally on this system .