From 4062f4e78e1d99481005404112d8dcd370fe224c Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 15 Sep 2005 04:05:09 +0000 Subject: [PATCH] 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... --- sys/dev/ed/if_ed_pccard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index f36fa93fec5..0ff8b0ad73a 100644 --- a/sys/dev/ed/if_ed_pccard.c +++ b/sys/dev/ed/if_ed_pccard.c @@ -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 */