--- dev/ic/wdc.c-	Wed Apr  4 03:58:54 2001
+++ dev/ic/wdc.c	Thu Jul 19 16:29:58 2001
@@ -1034,8 +1034,6 @@
 	    :"none", chp->channel), DEBUG_STATUS);
 	chp->ch_error = 0;
 
-	timeout = timeout * 1000 / WDCDELAY; /* delay uses microseconds */
-
 	for (;;) {
 #ifdef TEST_ALTSTS
 		chp->ch_status = status = CHP_READ_REG(chp, wdr_altsts);
@@ -1054,9 +1052,9 @@
 		}
 		if ((status & WDCS_BSY) == 0 && (status & mask) == bits) 
 			break;
-		if (++time > timeout) {
-			WDCDEBUG_PRINT(("wdcwait: timeout, status %x "
-			    "error %x\n", status,
+		if (++time > 10000 * 1000 / WDCDELAY) {
+			WDCDEBUG_PRINT(("wdcwait: timeout %d status %x "
+			    "error %x\n", timeout, status,
 			    CHP_READ_REG(chp, wdr_error)),
 			    DEBUG_STATUSX | DEBUG_STATUS); 
 			return -1;
