Add power management feature display.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: sample10.c,v 1.3 2004/08/07 03:25:02 rocky Exp $
|
$Id: sample10.c,v 1.4 2004/08/07 03:37:46 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
@@ -273,6 +273,9 @@ main(int argc, const char *argv[])
|
|||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
break;
|
break;
|
||||||
|
case CDIO_MMC_FEATURE_POWER_MGMT:
|
||||||
|
printf("Initiator and device directed power management\n");
|
||||||
|
break;
|
||||||
case CDIO_MMC_FEATURE_MCODE_UPGRADE:
|
case CDIO_MMC_FEATURE_MCODE_UPGRADE:
|
||||||
printf("Ability for the device to accept new microcode via "
|
printf("Ability for the device to accept new microcode via "
|
||||||
"the interface\n");
|
"the interface\n");
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: util.c,v 1.15 2004/08/07 03:24:45 rocky Exp $
|
$Id: util.c,v 1.16 2004/08/07 03:37:46 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
@@ -305,6 +305,9 @@ print_mmc_drive_features(CdIo *p_cdio)
|
|||||||
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",
|
||||||
|
|||||||
Reference in New Issue
Block a user