When stopping the card, and returning to page 0, it is best if you do

that with the NIC set of registers rather than the ASIC registers.  I
believe this was a harmless oversight, since we set ED_P0_CR to the
same value 5ms later, but just to be safe...
This commit is contained in:
Warner Losh 2005-09-15 04:05:09 +00:00
parent 318c3a55f0
commit 4062f4e78e

View File

@ -593,7 +593,7 @@ ed_pccard_ax88x90_geteprom(struct ed_softc *sc)
tmp = ed_asic_inb(sc, ED_NOVELL_RESET);
ed_asic_outb(sc, ED_NOVELL_RESET, tmp);
DELAY(5000);
ed_asic_outb(sc, ED_P0_CR, ED_CR_RD2 | ED_CR_STP | ED_CR_PAGE_0);
ed_nic_outb(sc, ED_P0_CR, ED_CR_RD2 | ED_CR_STP | ED_CR_PAGE_0);
DELAY(5000);
/* Card Settings */