diff options
author | sos <sos@FreeBSD.org> | 2000-01-28 21:30:31 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2000-01-28 21:30:31 +0000 |
commit | 9fa489ba717c4e91166f0c8d07be7c3da526757e (patch) | |
tree | 62407395b29e4edc2fbea5d05525b1c69036fdab /sys/dev/ata | |
parent | 693bdb49f944fa74881aa6ea7f3d12554e37ee1a (diff) | |
download | FreeBSD-src-9fa489ba717c4e91166f0c8d07be7c3da526757e.zip FreeBSD-src-9fa489ba717c4e91166f0c8d07be7c3da526757e.tar.gz |
Use atapi_test_ready not atapi_wait_ready, I need more sleep :(
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/atapi-fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |