diff options
author | kato <kato@FreeBSD.org> | 1996-12-19 10:31:10 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1996-12-19 10:31:10 +0000 |
commit | 710349287df799a0cf98fe5b1b8ed3d378663334 (patch) | |
tree | b0f3345384d5db43be5ea6c70f831a08eafc42c8 /sys/i386/isa/if_ep.c | |
parent | 051c811f6cd65f0b935283fed04f1e6d927a89ad (diff) | |
download | FreeBSD-src-710349287df799a0cf98fe5b1b8ed3d378663334.zip FreeBSD-src-710349287df799a0cf98fe5b1b8ed3d378663334.tar.gz |
Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp>
Support 3COM 3C569 network card on PC98.
Diffstat (limited to 'sys/i386/isa/if_ep.c')
-rw-r--r-- | sys/i386/isa/if_ep.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/i386/isa/if_ep.c b/sys/i386/isa/if_ep.c index 6efbe85..01fca4f 100644 --- a/sys/i386/isa/if_ep.c +++ b/sys/i386/isa/if_ep.c @@ -38,7 +38,7 @@ */ /* - * $Id: if_ep.c,v 1.53 1996/09/06 23:07:33 phk Exp $ + * $Id: if_ep.c,v 1.54 1996/12/13 21:28:21 wollman Exp $ * * Promiscuous mode added and interrupt logic slightly changed * to reduce the number of adapter failures. Transceiver select @@ -374,12 +374,17 @@ ep_look_for_board_at(is) get_eeprom_data(id_port, EEPROM_PROD_ID); ep_board[ep_boards].epb_used = 0; +#ifdef PC98 + ep_board[ep_boards].epb_addr = + (get_eeprom_data(id_port, EEPROM_ADDR_CFG) & 0x1f) * 0x100 + 0x40d0; +#else ep_board[ep_boards].epb_addr = (get_eeprom_data(id_port, EEPROM_ADDR_CFG) & 0x1f) * 0x10 + 0x200; if(ep_board[ep_boards].epb_addr > 0x3E0) /* Board in EISA configuration mode */ continue; +#endif /* PC98 */ outb(id_port, ep_current_tag); /* tags board */ outb(id_port, ACTIVATE_ADAPTER_TO_CONFIG); |