diff --git a/sys/dev/ic/isp.c b/sys/dev/ic/isp.c index 75473516538b..c837a2d68a75 100644 --- a/sys/dev/ic/isp.c +++ b/sys/dev/ic/isp.c @@ -1,4 +1,4 @@ -/* $NetBSD: isp.c,v 1.8 1997/06/22 19:57:06 mjacob Exp $ */ +/* $NetBSD: isp.c,v 1.9 1997/07/28 18:56:36 mjacob Exp $ */ /* * Machine Independent (well, as best as possible) @@ -986,7 +986,7 @@ isp_mboxcmd(isp, mbp) * Wait until RISC int is set */ loops = MBOX_DELAY_COUNT; - while ((ISP_READ(isp, BIU_ISR) & BIU_ISR_RISC_INT) != 0) { + while ((ISP_READ(isp, BIU_ISR) & BIU_ISR_RISC_INT) == 0) { delay(100); if (--loops < 0) { printf("%s: isp_mboxcmd timeout #2\n", isp->isp_name);