3 enum pci_config_type __pci_cfg_type;
5 void pci_set_config_type(enum pci_config_type type)
9 if ( type == PCI_CFG_AUTO ) {
10 /* Try to detect CM #1 */
14 if ( inl(0xcf8) == pci_mkaddr(255,31,7,252) )
17 type = PCI_CFG_TYPE2; /* ... it better be ... */
22 __pci_cfg_type = type;