RZ25 disks seem to need a short delay after a start command; the test unit

ready right afterward succeeds, but the getsize following that failed with
a "not ready".
This commit is contained in:
mhitch 1998-11-20 06:24:02 +00:00
parent 1cfeea7b69
commit 475a5c2afd
1 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rz.c,v 1.40 1998/11/06 01:59:25 mhitch Exp $ */
/* $NetBSD: rz.c,v 1.41 1998/11/20 06:24:02 mhitch Exp $ */
/*
* Copyright (c) 1992, 1993
@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: rz.c,v 1.40 1998/11/06 01:59:25 mhitch Exp $");
__KERNEL_RCSID(0, "$NetBSD: rz.c,v 1.41 1998/11/20 06:24:02 mhitch Exp $");
/*
* SCSI CCS (Command Command Set) disk driver.
@ -348,6 +348,13 @@ rzready(sc)
rzstart(sc->sc_cmd.unit);
if (biowait(&sc->sc_buf))
return (0);
/*
* The RZ25 seems to need a short delay here. It
* appears to take the test unit ready command OK,
* but then fails with a "not ready" when getting
* thie size.
*/
DELAY(1000);
continue;
}
again: