From 9fa489ba717c4e91166f0c8d07be7c3da526757e Mon Sep 17 00:00:00 2001 From: sos Date: Fri, 28 Jan 2000 21:30:31 +0000 Subject: Use atapi_test_ready not atapi_wait_ready, I need more sleep :( --- sys/dev/ata/atapi-fd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ata') diff --git a/sys/dev/ata/atapi-fd.c b/sys/dev/ata/atapi-fd.c index 5dbe8f3..1217332 100644 --- a/sys/dev/ata/atapi-fd.c +++ b/sys/dev/ata/atapi-fd.c @@ -213,7 +213,7 @@ afdopen(dev_t dev, int32_t flags, int32_t fmt, struct proc *p) struct afd_softc *fdp = dev->si_drv1; struct disklabel *label; - atapi_wait_ready(fdp->atp, 10); + atapi_test_ready(fdp->atp); afd_prevent_allow(fdp, 1); if (afd_sense(fdp)) printf("afd%d: sense media type failed\n", fdp->lun); -- cgit v1.1