From 5f3ed4ee3a53e328c2a3dd7b4855befa57a602e5 Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 7 Aug 2004 03:37:46 +0000 Subject: [PATCH] Add power management feature display. --- example/sample10.c | 5 ++++- src/util.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/example/sample10.c b/example/sample10.c index bb58b865..bbc78772 100644 --- a/example/sample10.c +++ b/example/sample10.c @@ -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 @@ -273,6 +273,9 @@ main(int argc, const char *argv[]) } printf("\n"); break; + case CDIO_MMC_FEATURE_POWER_MGMT: + printf("Initiator and device directed power management\n"); + break; case CDIO_MMC_FEATURE_MCODE_UPGRADE: printf("Ability for the device to accept new microcode via " "the interface\n"); diff --git a/src/util.c b/src/util.c index 06210311..bb3d1f39 100644 --- a/src/util.c +++ b/src/util.c @@ -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 @@ -305,6 +305,9 @@ print_mmc_drive_features(CdIo *p_cdio) case CDIO_MMC_FEATURE_CD_SAO: printf("CD Mastering (Session at Once) Feature\n"); break; + case CDIO_MMC_FEATURE_POWER_MGMT: + printf("Initiator and device directed power management\n"); + break; case CDIO_MMC_FEATURE_CDDA_EXT_PLAY: printf("CD Audio External Play Feature\n"); printf("\tSCAN command is %ssupported\n",