mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Use atapi_test_ready not atapi_wait_ready, I need more sleep :(
This commit is contained in:
parent
e208d1083f
commit
211a760057
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56770
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user