diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/skfp/drvfbi.c | 40 | ||||
| -rw-r--r-- | drivers/net/skfp/h/skfbi.h | 5 |
2 files changed, 0 insertions, 45 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 ; |
diff --git a/drivers/net/skfp/h/skfbi.h b/drivers/net/skfp/h/skfbi.h index d25c9f849842..c1ba26c06d73 100644 --- a/drivers/net/skfp/h/skfbi.h +++ b/drivers/net/skfp/h/skfbi.h | |||
| @@ -15,11 +15,6 @@ | |||
| 15 | #ifndef _SKFBI_H_ | 15 | #ifndef _SKFBI_H_ |
| 16 | #define _SKFBI_H_ | 16 | #define _SKFBI_H_ |
| 17 | 17 | ||
| 18 | #ifdef SYNC | ||
| 19 | #define exist_board_far exist_board | ||
| 20 | #define get_board_para_far get_board_para | ||
| 21 | #endif | ||
| 22 | |||
| 23 | /* | 18 | /* |
| 24 | * FDDI-Fx (x := {I(SA), P(CI)}) | 19 | * FDDI-Fx (x := {I(SA), P(CI)}) |
| 25 | * address calculation & function defines | 20 | * address calculation & function defines |
