Add more feature descriptions.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: sample10.c,v 1.2 2004/08/07 01:48:36 rocky Exp $
|
$Id: sample10.c,v 1.3 2004/08/07 03:25:02 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
@@ -249,18 +249,15 @@ main(int argc, const char *argv[])
|
|||||||
case CDIO_MMC_FEATURE_RESTRICT_OVERW:
|
case CDIO_MMC_FEATURE_RESTRICT_OVERW:
|
||||||
printf("Restricted Overwrite Feature\n");
|
printf("Restricted Overwrite Feature\n");
|
||||||
break;
|
break;
|
||||||
case CDIO_MMC_FEATURE_LU_SN:
|
|
||||||
printf("Logical Unit Serial Number Feature\n");
|
|
||||||
break;
|
|
||||||
case CDIO_MMC_FEATURE_MCODE_UPGRADE:
|
|
||||||
printf("Microcode Upgrade Feature\n");
|
|
||||||
break;
|
|
||||||
case CDIO_MMC_FEATURE_CD_TAO:
|
case CDIO_MMC_FEATURE_CD_TAO:
|
||||||
printf("CD Track at Once Feature\n");
|
printf("CD Track at Once Feature\n");
|
||||||
break;
|
break;
|
||||||
case CDIO_MMC_FEATURE_CD_SAO:
|
case CDIO_MMC_FEATURE_CD_SAO:
|
||||||
printf("CD Mastering (Session at Once) Feature\n");
|
printf("CD Mastering (Session at Once) Feature\n");
|
||||||
break;
|
break;
|
||||||
|
case CDIO_MMC_FEATURE_POWER_MGMT:
|
||||||
|
printf("Initiator and device directed power management\n");
|
||||||
|
break;
|
||||||
case CDIO_MMC_FEATURE_CDDA_EXT_PLAY:
|
case CDIO_MMC_FEATURE_CDDA_EXT_PLAY:
|
||||||
printf("CD Audio External Play Feature\n");
|
printf("CD Audio External Play Feature\n");
|
||||||
printf("\tSCAN command is %ssupported\n",
|
printf("\tSCAN command is %ssupported\n",
|
||||||
@@ -276,6 +273,21 @@ main(int argc, const char *argv[])
|
|||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
break;
|
break;
|
||||||
|
case CDIO_MMC_FEATURE_MCODE_UPGRADE:
|
||||||
|
printf("Ability for the device to accept new microcode via "
|
||||||
|
"the interface\n");
|
||||||
|
break;
|
||||||
|
case CDIO_MMC_FEATURE_TIME_OUT:
|
||||||
|
printf("Ability to respond to all commands within a "
|
||||||
|
"specific time\n");
|
||||||
|
break;
|
||||||
|
case CDIO_MMC_FEATURE_DVD_CSS:
|
||||||
|
printf("Ability to perform DVD CSS/CPPM authentication and"
|
||||||
|
" RPC\n");
|
||||||
|
break;
|
||||||
|
case CDIO_MMC_FEATURE_LU_SN:
|
||||||
|
printf("The Logical Unit has a unique identifier\n");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
printf("Unknown feature code %x\n", i_feature);
|
printf("Unknown feature code %x\n", i_feature);
|
||||||
}
|
}
|
||||||
|
|||||||
23
src/util.c
23
src/util.c
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: util.c,v 1.14 2004/08/07 01:48:36 rocky Exp $
|
$Id: util.c,v 1.15 2004/08/07 03:24:45 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
@@ -299,12 +299,6 @@ print_mmc_drive_features(CdIo *p_cdio)
|
|||||||
case CDIO_MMC_FEATURE_RESTRICT_OVERW:
|
case CDIO_MMC_FEATURE_RESTRICT_OVERW:
|
||||||
printf("Restricted Overwrite Feature\n");
|
printf("Restricted Overwrite Feature\n");
|
||||||
break;
|
break;
|
||||||
case CDIO_MMC_FEATURE_LU_SN:
|
|
||||||
printf("Logical Unit Serial Number Feature\n");
|
|
||||||
break;
|
|
||||||
case CDIO_MMC_FEATURE_MCODE_UPGRADE:
|
|
||||||
printf("Microcode Upgrade Feature\n");
|
|
||||||
break;
|
|
||||||
case CDIO_MMC_FEATURE_CD_TAO:
|
case CDIO_MMC_FEATURE_CD_TAO:
|
||||||
printf("CD Track at Once Feature\n");
|
printf("CD Track at Once Feature\n");
|
||||||
break;
|
break;
|
||||||
@@ -326,6 +320,21 @@ print_mmc_drive_features(CdIo *p_cdio)
|
|||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
break;
|
break;
|
||||||
|
case CDIO_MMC_FEATURE_MCODE_UPGRADE:
|
||||||
|
printf("Ability for the device to accept new microcode via "
|
||||||
|
"the interface\n");
|
||||||
|
break;
|
||||||
|
case CDIO_MMC_FEATURE_TIME_OUT:
|
||||||
|
printf("Ability to respond to all commands within a "
|
||||||
|
"specific time\n");
|
||||||
|
break;
|
||||||
|
case CDIO_MMC_FEATURE_DVD_CSS:
|
||||||
|
printf("Ability to perform DVD CSS/CPPM authentication and"
|
||||||
|
" RPC\n");
|
||||||
|
break;
|
||||||
|
case CDIO_MMC_FEATURE_LU_SN:
|
||||||
|
printf("The Logical Unit has a unique identifier\n");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
printf("Unknown feature code %x\n", i_feature);
|
printf("Unknown feature code %x\n", i_feature);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user