diff options
author | imp <imp@FreeBSD.org> | 2003-04-10 07:55:55 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-04-10 07:55:55 +0000 |
commit | 07eec53268dad6a071dbd4fe279252dfdbc4ce07 (patch) | |
tree | 0bb76a64f294e162a6b361b7d52c983de656a882 | |
parent | 0e02966dafdeec6027e8ca484b2603887db540bf (diff) | |
download | FreeBSD-src-07eec53268dad6a071dbd4fe279252dfdbc4ce07.zip FreeBSD-src-07eec53268dad6a071dbd4fe279252dfdbc4ce07.tar.gz |
Fix interrupt race.
From NetBSD
-rw-r--r-- | sys/dev/wi/if_wi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index 9d96e0a..8fab29c 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -563,8 +563,8 @@ wi_intr(void *arg) WI_LOCK(sc); if (sc->wi_gone || (ifp->if_flags & IFF_UP) == 0) { - CSR_WRITE_2(sc, WI_EVENT_ACK, ~0); CSR_WRITE_2(sc, WI_INT_EN, 0); + CSR_WRITE_2(sc, WI_EVENT_ACK, ~0); WI_UNLOCK(sc); return; } |