diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2001-01-09 02:47:56 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2001-01-09 02:47:56 +0000 |
| commit | 27d1caa3cd3cf3f90f903db78dbf6e5e623d2011 (patch) | |
| tree | 09929a5c0c2f5fb0b629bab0a03b7ae1419ec4df /sys/dev/isp | |
| parent | 4b9d588e2c22ad2f67f6f6de2a75b7c42c56bb45 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp')
| -rw-r--r-- | sys/dev/isp/isp_freebsd.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index 5f9f47f3fb143..052a8c2266163 100644 --- a/sys/dev/isp/isp_freebsd.h +++ b/sys/dev/isp/isp_freebsd.h @@ -350,19 +350,21 @@ isp_mbox_wait_complete(struct ispsoftc *isp) isp->isp_osinfo.mboxwaiting = 1; #ifdef ISP_SMPLOCK (void) msleep(&isp->isp_osinfo.mboxwaiting, - &isp->isp_osinfo.lock, PRIBIO, "isp_mboxwaiting", 5 * hz); + &isp->isp_osinfo.lock, PRIBIO, "isp_mboxwaiting", 10 * hz); #else (void) tsleep(&isp->isp_osinfo.mboxwaiting, PRIBIO, - "isp_mboxwaiting", 5 * hz); + "isp_mboxwaiting", 10 * hz); #endif if (isp->isp_mboxbsy != 0) { - isp_prt(isp, ISP_LOGWARN, "interrupting mbox timeout"); + isp_prt(isp, ISP_LOGWARN, + "Interrupting Mailbox Command (0x%x) Timeout", + isp->isp_mboxtmp[0]); isp->isp_mboxbsy = 0; } isp->isp_osinfo.mboxwaiting = 0; } else { int j; - for (j = 0; j < 60 * 2000; j++) { + for (j = 0; j < 60 * 10000; j++) { if (isp_intr(isp) == 0) { USEC_DELAY(500); } @@ -371,7 +373,9 @@ isp_mbox_wait_complete(struct ispsoftc *isp) } } if (isp->isp_mboxbsy != 0) { - isp_prt(isp, ISP_LOGWARN, "polled mbox timeout"); + isp_prt(isp, ISP_LOGWARN, + "Polled Mailbox Command (0x%x) Timeout", + isp->isp_mboxtmp[0]); } } } |
