···537537}538538#endif /* MULT_OEM */539539540540-#ifdef PCI541541-#ifdef USE_BIOS_FUN542542-int exist_board(struct s_smc *smc, int slot)543543-{544544- u_short dev_id ;545545- u_short ven_id ;546546- int found ; 547547- int i ;548548-549549- found = FALSE ; /* make sure we returned with adatper not found*/550550- /* if an empty oemids.h was included */551551-552552-#ifdef MULT_OEM553553- smc->hw.oem_id = (struct s_oem_ids *) &oem_ids[0] ;554554- for (; smc->hw.oem_id->oi_status != OI_STAT_LAST; smc->hw.oem_id++) {555555- if (smc->hw.oem_id->oi_status < smc->hw.oem_min_status)556556- continue ;557557-#endif558558- ven_id = OEMID(smc,0) + (OEMID(smc,1) << 8) ; 559559- dev_id = OEMID(smc,2) + (OEMID(smc,3) << 8) ; 560560- for (i = 0; i < slot; i++) {561561- if (pci_find_device(i,&smc->hw.pci_handle,562562- dev_id,ven_id) != 0) {563563-564564- found = FALSE ;565565- } else {566566- found = TRUE ;567567- }568568- }569569- if (found) {570570- return(1) ; /* adapter was found */571571- }572572-#ifdef MULT_OEM573573- }574574-#endif575575- return(0) ; /* adapter was not found */576576-}577577-#endif /* PCI */578578-#endif /* USE_BIOS_FUNC */579579-580540void driver_get_bia(struct s_smc *smc, struct fddi_addr *bia_addr)581541{582542 int i ;