diff options
author | joerg <joerg@FreeBSD.org> | 2000-12-04 20:16:06 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2000-12-04 20:16:06 +0000 |
commit | f2e5184027227edebf7519183f99bc3f8b96dc64 (patch) | |
tree | 4e88619ed5ee83928904be2b465b94501519ed3a /sys | |
parent | bb34593642604d426a985e6c15215571e0e5ba5a (diff) | |
download | FreeBSD-src-f2e5184027227edebf7519183f99bc3f8b96dc64.zip FreeBSD-src-f2e5184027227edebf7519183f99bc3f8b96dc64.tar.gz |
Turn off the load_eject bit in cdstartunit(). It causes an `Invalid
field in CDB' error when attempting to start a caddy-type CD drive,
since those drives apparently in general refuse to load a medium. Since
we never advertised the feature to load the medium upon calling
cdstartunit() (i. e. upon receipt of a CDIOCSTART ioctl command), nobody
should have relied on it. Besides, nobody noticed so far at all that
this command is failing for caddy-type drives... Only few applications
seem to use it at all (among them is workman, which made me notice it).
Reviewed by: ken
Diffstat (limited to 'sys')
-rw-r--r-- | sys/cam/scsi/scsi_cd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c index 662327e..d140f9b 100644 --- a/sys/cam/scsi/scsi_cd.c +++ b/sys/cam/scsi/scsi_cd.c @@ -3038,7 +3038,7 @@ cdstartunit(struct cam_periph *periph) /* cbfcnp */ cddone, /* tag_action */ MSG_SIMPLE_Q_TAG, /* start */ TRUE, - /* load_eject */ TRUE, + /* load_eject */ FALSE, /* immediate */ FALSE, /* sense_len */ SSD_FULL_SIZE, /* timeout */ 50000); |