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
805b15b361
commit
8d95b42777
@ -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 New Issue
Block a user