[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 10/16] ahci: fix host register max address
From: |
John Snow |
Subject: |
[Qemu-block] [PATCH 10/16] ahci: fix host register max address |
Date: |
Fri, 25 May 2018 19:55:03 -0400 |
Yes, comment, it ought to be 0x2C.
Signed-off-by: John Snow <address@hidden>
---
hw/ide/ahci_internal.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hw/ide/ahci_internal.h b/hw/ide/ahci_internal.h
index af366db6f3..f9dcf8b6e6 100644
--- a/hw/ide/ahci_internal.h
+++ b/hw/ide/ahci_internal.h
@@ -224,8 +224,7 @@ enum AHCIPortIRQ {
#define SATA_SIGNATURE_CDROM 0xeb140101
#define SATA_SIGNATURE_DISK 0x00000101
-#define AHCI_GENERIC_HOST_CONTROL_REGS_MAX_ADDR 0x20
- /* Shouldn't this be 0x2c? */
+#define AHCI_GENERIC_HOST_CONTROL_REGS_MAX_ADDR 0x2c
#define AHCI_PORT_REGS_START_ADDR 0x100
#define AHCI_PORT_ADDR_OFFSET_MASK 0x7f
--
2.14.3
[Qemu-block] [PATCH 13/16] ahci: fix spacing damage on ahci_mem_write, John Snow, 2018/05/25
[Qemu-block] [PATCH 08/16] ahci: delete old port register address definitions, John Snow, 2018/05/25
[Qemu-block] [PATCH 07/16] ahci: make port write traces more descriptive, John Snow, 2018/05/25