diff options
author | 2000-11-16 16:27:38 +0000 | |
---|---|---|
committer | 2000-11-16 16:27:38 +0000 | |
commit | 358c2a75450d438379ec42f89f22ba5d0e8cfcb4 (patch) | |
tree | 526a1d279bdc99c392935d3514d415ac0086fedd | |
parent | update for recent conf/files update (diff) | |
download | wireguard-openbsd-358c2a75450d438379ec42f89f22ba5d0e8cfcb4.tar.xz wireguard-openbsd-358c2a75450d438379ec42f89f22ba5d0e8cfcb4.zip |
wait for the MACE to figure out whether it has media or not, and then
clear interrupt status and such before enabling rx and tx.
-rw-r--r-- | sys/arch/sparc/dev/qe.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/qe.c b/sys/arch/sparc/dev/qe.c index 4962b51f6d6..59f2c1b26a8 100644 --- a/sys/arch/sparc/dev/qe.c +++ b/sys/arch/sparc/dev/qe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qe.c,v 1.10 2000/11/16 15:47:57 jason Exp $ */ +/* $OpenBSD: qe.c,v 1.11 2000/11/16 16:27:38 jason Exp $ */ /* * Copyright (c) 1998, 2000 Jason L. Wright. @@ -768,7 +768,11 @@ qeinit(sc) qe_mcreset(sc); mr->iac = 0; - i = mr->mpc; /* cleared on read */ + DELAY(50000); + i = mr->phycc; + i = sc->sc_qr->stat; + i = cr->stat; + i = mr->mpc; ifp->if_flags |= IFF_RUNNING; ifp->if_flags &= ~IFF_OACTIVE; |