diff options
author | imp <imp@FreeBSD.org> | 2005-09-15 04:05:09 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-09-15 04:05:09 +0000 |
commit | 0ae53ca3daa07d34374bb3294304112a9788473c (patch) | |
tree | 278ef788d55ee48796c55b0e037c70087b9e98bb /sys | |
parent | 9348f83b49e40511454a5d2a6697910d9cc9de02 (diff) | |
download | FreeBSD-src-0ae53ca3daa07d34374bb3294304112a9788473c.zip FreeBSD-src-0ae53ca3daa07d34374bb3294304112a9788473c.tar.gz |
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...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ed/if_ed_pccard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index f36fa93..0ff8b0a 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 */ |