Claim the interrupt if it has been dealt with otherwise pass it on.

This commit is contained in:
mark 1996-06-12 20:28:29 +00:00
parent 08ec43427f
commit 7d688793a8
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_es.c,v 1.2 1996/05/20 17:09:24 mark Exp $ */
/* $NetBSD: if_es.c,v 1.3 1996/06/12 20:28:29 mark Exp $ */
/*
* Copyright (c) 1996, Danny C Tsen.
@ -347,7 +347,7 @@ esintr(sc)
intsts = inb(iobase + B2IST);
intact = inb(iobase + B2MSK) & intsts;
if ((intact) == 0) {
return (0);
return (0); /* Pass interrupt on down the chain */
}
#ifdef ESDEBUG
@ -533,7 +533,7 @@ zzzz:
}
#endif
return (1);
return (1); /* Claim interrupt */
}
#define NWAIT(n) \

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_es.c,v 1.2 1996/05/20 17:09:24 mark Exp $ */
/* $NetBSD: if_es.c,v 1.3 1996/06/12 20:28:29 mark Exp $ */
/*
* Copyright (c) 1996, Danny C Tsen.
@ -347,7 +347,7 @@ esintr(sc)
intsts = inb(iobase + B2IST);
intact = inb(iobase + B2MSK) & intsts;
if ((intact) == 0) {
return (0);
return (0); /* Pass interrupt on down the chain */
}
#ifdef ESDEBUG
@ -533,7 +533,7 @@ zzzz:
}
#endif
return (1);
return (1); /* Claim interrupt */
}
#define NWAIT(n) \