mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 06:04:51 +00:00
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
This commit is contained in:
parent
06617fbb29
commit
50088f2089
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69577
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue