From 211a7600570dbeb4304ecbed59cf1e8c0b30e26b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Fri, 28 Jan 2000 21:30:31 +0000 Subject: [PATCH] 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(-) diff --git a/sys/dev/ata/atapi-fd.c b/sys/dev/ata/atapi-fd.c index 5dbe8f3866bc..12173323e5bc 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);