From 04b734cf2432904add471349073e7fc3a6396a5a Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 18 Nov 1994 10:18:36 +0000 Subject: [PATCH] Extended the SEEKWAIT and RECALWAIT somewhat to avoid annoying messages. --- sys/dev/fdc/fdc.c | 6 +++--- sys/i386/isa/fd.c | 6 +++--- sys/isa/fd.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index b22f64182770..045d02ecbdfb 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -40,7 +40,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.41 1994/11/08 05:42:10 jkh Exp $ + * $Id: fd.c,v 1.42 1994/11/08 06:34:04 ache Exp $ * */ @@ -1101,7 +1101,7 @@ fdstate(fdcu, fdc) return(0); /* will return later */ case SEEKWAIT: /* allow heads to settle */ - timeout(fd_pseudointr, (caddr_t)fdcu, hz / 32); + timeout(fd_pseudointr, (caddr_t)fdcu, hz / 16); fdc->state = SEEKCOMPLETE; return(0); /* will return later */ case SEEKCOMPLETE : /* SEEK DONE, START DMA */ @@ -1303,7 +1303,7 @@ fdstate(fdcu, fdc) return(0); /* will return later */ case RECALWAIT: /* allow heads to settle */ - timeout(fd_pseudointr, (caddr_t)fdcu, hz / 32); + timeout(fd_pseudointr, (caddr_t)fdcu, hz / 8); fdc->state = RECALCOMPLETE; return(0); /* will return later */ case RECALCOMPLETE: diff --git a/sys/i386/isa/fd.c b/sys/i386/isa/fd.c index b22f64182770..045d02ecbdfb 100644 --- a/sys/i386/isa/fd.c +++ b/sys/i386/isa/fd.c @@ -40,7 +40,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.41 1994/11/08 05:42:10 jkh Exp $ + * $Id: fd.c,v 1.42 1994/11/08 06:34:04 ache Exp $ * */ @@ -1101,7 +1101,7 @@ fdstate(fdcu, fdc) return(0); /* will return later */ case SEEKWAIT: /* allow heads to settle */ - timeout(fd_pseudointr, (caddr_t)fdcu, hz / 32); + timeout(fd_pseudointr, (caddr_t)fdcu, hz / 16); fdc->state = SEEKCOMPLETE; return(0); /* will return later */ case SEEKCOMPLETE : /* SEEK DONE, START DMA */ @@ -1303,7 +1303,7 @@ fdstate(fdcu, fdc) return(0); /* will return later */ case RECALWAIT: /* allow heads to settle */ - timeout(fd_pseudointr, (caddr_t)fdcu, hz / 32); + timeout(fd_pseudointr, (caddr_t)fdcu, hz / 8); fdc->state = RECALCOMPLETE; return(0); /* will return later */ case RECALCOMPLETE: diff --git a/sys/isa/fd.c b/sys/isa/fd.c index b22f64182770..045d02ecbdfb 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -40,7 +40,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.41 1994/11/08 05:42:10 jkh Exp $ + * $Id: fd.c,v 1.42 1994/11/08 06:34:04 ache Exp $ * */ @@ -1101,7 +1101,7 @@ fdstate(fdcu, fdc) return(0); /* will return later */ case SEEKWAIT: /* allow heads to settle */ - timeout(fd_pseudointr, (caddr_t)fdcu, hz / 32); + timeout(fd_pseudointr, (caddr_t)fdcu, hz / 16); fdc->state = SEEKCOMPLETE; return(0); /* will return later */ case SEEKCOMPLETE : /* SEEK DONE, START DMA */ @@ -1303,7 +1303,7 @@ fdstate(fdcu, fdc) return(0); /* will return later */ case RECALWAIT: /* allow heads to settle */ - timeout(fd_pseudointr, (caddr_t)fdcu, hz / 32); + timeout(fd_pseudointr, (caddr_t)fdcu, hz / 8); fdc->state = RECALCOMPLETE; return(0); /* will return later */ case RECALCOMPLETE: