diff options
Diffstat (limited to 'drivers/net/skfp/drvfbi.c')
| -rw-r--r-- | drivers/net/skfp/drvfbi.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/drivers/net/skfp/drvfbi.c b/drivers/net/skfp/drvfbi.c index be2ee6519ef2..c77cc14b3227 100644 --- a/drivers/net/skfp/drvfbi.c +++ b/drivers/net/skfp/drvfbi.c | |||
| @@ -537,46 +537,6 @@ int set_oi_id_def(struct s_smc *smc) | |||
| 537 | } | 537 | } |
| 538 | #endif /* MULT_OEM */ | 538 | #endif /* MULT_OEM */ |
| 539 | 539 | ||
| 540 | #ifdef PCI | ||
| 541 | #ifdef USE_BIOS_FUN | ||
| 542 | int exist_board(struct s_smc *smc, int slot) | ||
| 543 | { | ||
| 544 | u_short dev_id ; | ||
| 545 | u_short ven_id ; | ||
| 546 | int found ; | ||
| 547 | int i ; | ||
| 548 | |||
| 549 | found = FALSE ; /* make sure we returned with adatper not found*/ | ||
| 550 | /* if an empty oemids.h was included */ | ||
| 551 | |||
| 552 | #ifdef MULT_OEM | ||
| 553 | smc->hw.oem_id = (struct s_oem_ids *) &oem_ids[0] ; | ||
| 554 | for (; smc->hw.oem_id->oi_status != OI_STAT_LAST; smc->hw.oem_id++) { | ||
| 555 | if (smc->hw.oem_id->oi_status < smc->hw.oem_min_status) | ||
| 556 | continue ; | ||
| 557 | #endif | ||
| 558 | ven_id = OEMID(smc,0) + (OEMID(smc,1) << 8) ; | ||
| 559 | dev_id = OEMID(smc,2) + (OEMID(smc,3) << 8) ; | ||
| 560 | for (i = 0; i < slot; i++) { | ||
| 561 | if (pci_find_device(i,&smc->hw.pci_handle, | ||
| 562 | dev_id,ven_id) != 0) { | ||
| 563 | |||
| 564 | found = FALSE ; | ||
| 565 | } else { | ||
| 566 | found = TRUE ; | ||
| 567 | } | ||
| 568 | } | ||
| 569 | if (found) { | ||
| 570 | return(1) ; /* adapter was found */ | ||
| 571 | } | ||
| 572 | #ifdef MULT_OEM | ||
| 573 | } | ||
| 574 | #endif | ||
| 575 | return(0) ; /* adapter was not found */ | ||
| 576 | } | ||
| 577 | #endif /* PCI */ | ||
| 578 | #endif /* USE_BIOS_FUNC */ | ||
| 579 | |||
| 580 | void driver_get_bia(struct s_smc *smc, struct fddi_addr *bia_addr) | 540 | void driver_get_bia(struct s_smc *smc, struct fddi_addr *bia_addr) |
| 581 | { | 541 | { |
| 582 | int i ; | 542 | int i ; |
