- 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>
This commit is contained in:
nate 1997-04-21 13:38:32 +00:00
parent e2eb0e3743
commit 01b6917a11

View File

@ -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);
}