[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 04/12] atapi: fill in AUDIO_CTL page correctly
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 04/12] atapi: fill in AUDIO_CTL page correctly |
Date: |
Tue, 20 Sep 2011 17:26:38 +0200 |
The page is not anymore in MMC, but at least keep the values sane.
Signed-off-by: Paolo Bonzini <address@hidden>
---
hw/ide/atapi.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/ide/atapi.c b/hw/ide/atapi.c
index 347c38d..10f161f 100644
--- a/hw/ide/atapi.c
+++ b/hw/ide/atapi.c
@@ -731,6 +731,8 @@ static void cmd_mode_sense(IDEState *s, uint8_t *buf)
buf[7] = 0;
/* Fill with CDROM audio volume */
+ buf[8] = 0x0e;
+ buf[9] = 0x0e;
buf[17] = 0;
buf[19] = 0;
buf[21] = 0;
--
1.7.6
- [Qemu-devel] [PATCH 00/12] scsi-disk: Add DVD-ROM support and media change + atapi: nitpicking, Paolo Bonzini, 2011/09/20
- [Qemu-devel] [PATCH 04/12] atapi: fill in AUDIO_CTL page correctly,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 06/12] scsi-disk: report media changed via unit attention sense codes, Paolo Bonzini, 2011/09/20
- [Qemu-devel] [PATCH 01/12] scsi: pass correct sense code for ENOMEDIUM, Paolo Bonzini, 2011/09/20
- [Qemu-devel] [PATCH 07/12] scsi-disk: add stubs for more MMC commands, Paolo Bonzini, 2011/09/20
- [Qemu-devel] [PATCH 03/12] atapi: move GESN definitions to scsi-defs.h, Paolo Bonzini, 2011/09/20
- [Qemu-devel] [PATCH 09/12] atapi/scsi-disk: make mode page values coherent between the two, Paolo Bonzini, 2011/09/20
- [Qemu-devel] [PATCH 08/12] scsi-disk: store valid mode pages in a table, Paolo Bonzini, 2011/09/20
- [Qemu-devel] [PATCH 05/12] scsi: notify the device when unit attention is reported, Paolo Bonzini, 2011/09/20
- [Qemu-devel] [PATCH 02/12] atapi/scsi: unify definitions for MMC, Paolo Bonzini, 2011/09/20
- [Qemu-devel] [PATCH 12/12] scsi-disk: report media changed via GET EVENT STATUS NOTIFICATION, Paolo Bonzini, 2011/09/20
- [Qemu-devel] [PATCH 11/12] scsi-disk: support READ DVD STRUCTURE, Paolo Bonzini, 2011/09/20