Fix for the fixate problem on the Yamaha burners.
This commit is contained in:
parent
13fc877343
commit
c9cc17cc67
@ -1388,7 +1388,7 @@ acd_close_disk(struct acd_softc *cdp, int multisession)
|
||||
else
|
||||
param.session_type = CDR_SESS_NONE;
|
||||
|
||||
if ((error = acd_mode_select(cdp, (caddr_t)¶m, sizeof(param))))
|
||||
if ((error = acd_mode_select(cdp, (caddr_t)¶m, param.page_length + 10)))
|
||||
return error;
|
||||
|
||||
error = atapi_queue_cmd(cdp->atp, ccb, NULL, 0, 0, 30, NULL, NULL);
|
||||
@ -1486,7 +1486,7 @@ acd_open_track(struct acd_softc *cdp, struct cdr_track *track)
|
||||
break;
|
||||
}
|
||||
|
||||
return acd_mode_select(cdp, (caddr_t)¶m, sizeof(param));
|
||||
return acd_mode_select(cdp, (caddr_t)¶m, param.page_length + 10);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -261,12 +261,10 @@ struct write_param {
|
||||
u_int8_t sub_hdr_byte1;
|
||||
u_int8_t sub_hdr_byte2;
|
||||
u_int8_t sub_hdr_byte3;
|
||||
/*
|
||||
u_int8_t vendor_specific_byte0;
|
||||
u_int8_t vendor_specific_byte1;
|
||||
u_int8_t vendor_specific_byte2;
|
||||
u_int8_t vendor_specific_byte3;
|
||||
*/
|
||||
} __attribute__((packed));
|
||||
|
||||
/* CDROM Read Track Information structure */
|
||||
|
Loading…
Reference in New Issue
Block a user