diff options
author | nate <nate@FreeBSD.org> | 1997-04-21 13:38:32 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1997-04-21 13:38:32 +0000 |
commit | 01b6917a116d10c1c4bd78295be1943a5a675b63 (patch) | |
tree | d43b7b1549de3494e261cc1cd56acf247785083e /sys/i386/isa/if_zp.c | |
parent | e2eb0e37433a2e308f5f07c81b1450eb4849738d (diff) | |
download | FreeBSD-src-01b6917a116d10c1c4bd78295be1943a5a675b63.zip FreeBSD-src-01b6917a116d10c1c4bd78295be1943a5a675b63.tar.gz |
- Better fix for 3C589D support. Revert previous changes and add a
delay after we reset the card to allow the card to come back to life.
It appears the newer card takes longer to reset.
Submitted by: Samuel Lam <skl@ScalableNetwork.com>
Diffstat (limited to 'sys/i386/isa/if_zp.c')
-rw-r--r-- | sys/i386/isa/if_zp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c index c00ed24..ce27d4d 100644 --- a/sys/i386/isa/if_zp.c +++ b/sys/i386/isa/if_zp.c @@ -290,6 +290,7 @@ zp_find_adapter(unsigned char *scratch, int reconfig) } pcic_power_on(slot); pcic_reset(slot); + DELAY(50000); /* map the card's attribute memory and examine its card * information structure tuples for something we recognize. */ pcic_map_memory(slot, 0, kvtop(scratch), 0L, @@ -1123,7 +1124,7 @@ read_eeprom_data(id_port, offset) { outb(id_port + 10, 0x80 + offset); - DELAY(100000); + DELAY(1000); return inw(id_port + 12); } |