Fix a missing unlock operation in interrupt handler.

PR:		kern/99205
Submitted by:	Alexey Illarionov <littlesavage AT rambler DOT ru>
MFC after:	1 week
This commit is contained in:
Pyun YongHyeon 2006-07-06 10:39:58 +00:00
parent 9a147235a5
commit 8d934d5005

View File

@ -312,8 +312,10 @@ ess_intr(void *arg)
if (ess_rd(sc, 0x0c) & 0x01)
src |= 1;
if (src == 0)
if (src == 0) {
ess_unlock(sc);
return;
}
if (sc->duplex) {
pirq = (src & sc->pch.hwch)? 1 : 0;