aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-07-06 17:49:51 -0400
committerJohn Snow <jsnow@redhat.com>2015-07-08 14:07:47 -0400
commit702c8c8be2f3317c81fff83f82d8a5f1d50d41b8 (patch)
treea53805369f485e5f66bc0861766076239c388b50 /hw
parent9ab9993f71b7eac6788deae2fbb7ec659ceb4a1e (diff)
ahci: Fix CD-ROM signature
The CD-ROM signature is 0xeb140101, not 0xeb140000. Without this change OVMF/Duet runs into a timeout trying to detect a SATA cdrom. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-id: 1436219392-31915-2-git-send-email-jsnow@redhat.com
Diffstat (limited to 'hw')
-rw-r--r--hw/ide/ahci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/ahci.h b/hw/ide/ahci.h
index 9f5b4d20b5..68d5074b33 100644
--- a/hw/ide/ahci.h
+++ b/hw/ide/ahci.h
@@ -166,7 +166,7 @@
#define AHCI_CMD_HDR_CMD_FIS_LEN 0x1f
#define AHCI_CMD_HDR_PRDT_LEN 16
-#define SATA_SIGNATURE_CDROM 0xeb140000
+#define SATA_SIGNATURE_CDROM 0xeb140101
#define SATA_SIGNATURE_DISK 0x00000101
#define AHCI_GENERIC_HOST_CONTROL_REGS_MAX_ADDR 0x20