diff options
| author | Warner Losh <imp@FreeBSD.org> | 2001-02-20 04:21:27 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2001-02-20 04:21:27 +0000 |
| commit | 0aa477423a18e4ba776fd96575368cc903117382 (patch) | |
| tree | c26d97f1dd7f8c704413c3845bec3b339f738388 /sys/dev/dc | |
| parent | 885990747876573f1509056d98c73883c7b0de22 (diff) | |
Notes
Diffstat (limited to 'sys/dev/dc')
| -rw-r--r-- | sys/dev/dc/if_dc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 9cb794f0330b..94c284baa310 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -2716,8 +2716,10 @@ static void dc_intr(arg) DC_LOCK(sc); ifp = &sc->arpcom.ac_if; - if ( (CSR_READ_4(sc, DC_ISR) & DC_INTRS) == 0) + if ( (CSR_READ_4(sc, DC_ISR) & DC_INTRS) == 0) { + DC_UNLOCK(sc); return ; + } /* Suppress unwanted interrupts */ if (!(ifp->if_flags & IFF_UP)) { |
