Add SCSI-MMC GET CONFIGURATION.

Add Frank Endres' disc type determination via MMC.
Be more careful to suffix with CDIO_MMC which I hope will reduce possible name conflicts.
This commit is contained in:
R. Bernstein
2010-02-07 21:04:21 -05:00
parent aa7f7e1315
commit 2d3b7d28b4
11 changed files with 323 additions and 59 deletions

View File

@@ -437,7 +437,7 @@ main(int argc, char *argv[])
const operation_t *p_op = &operation[i];
switch (p_op->op) {
case OP_SPEED:
rc = mmc_set_speed(p_cdio, p_op->arg.i_num);
rc = mmc_set_speed(p_cdio, p_op->arg.i_num, 0);
report(stdout, "%s (mmc_set_speed): %s\n", program_name,
cdio_driver_errmsg(rc));
break;