FreeBSD/sys/dev/pci/pci.c
/* adjust some values from PCI 1.0 devices to match 2.0 standards ... */
adjust some values from PCI 1.0 devices to match 2.0 standards
adjust some values from PCI 1 . 0 devices to match 2 . 0 standards
static void
pci_fixancient(pcicfgregs *cfg)
{
	if ((cfg->hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL)
		return;
	if (cfg->baseclass == PCIC_BRIDGE && cfg->subclass == PCIS_BRIDGE_PCI)
		cfg->hdrtype = PCIM_HDRTYPE_BRIDGE;
}
static void pci_fixancient ( pcicfgregs * cfg ) { if ( ( cfg -> hdrtype & PCIM_HDRTYPE ) != PCIM_HDRTYPE_NORMAL ) return ; if ( cfg -> baseclass == PCIC_BRIDGE && cfg -> subclass == PCIS_BRIDGE_PCI ) cfg -> hdrtype = PCIM_HDRTYPE_BRIDGE ; }
adjust some values from PCI 1.0 devices to match 2.0 standards ...
adjust some values from PCI 1 . 0 devices to match 2 . 0 standards ...
/* PCI to PCI bridges use header type 1 */