[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v2 10/16] ahci: fix host register max address
From: |
John Snow |
Subject: |
[Qemu-block] [PATCH v2 10/16] ahci: fix host register max address |
Date: |
Thu, 31 May 2018 18:28:29 -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 v2 00/16] AHCI: tracing improvements, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 05/16] ahci: combine identical clauses in port write, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 01/16] ahci: add port register enumeration, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 08/16] ahci: delete old port register address definitions, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 03/16] ahci: make port read traces more descriptive, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 09/16] ahci: add host register enumeration, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 02/16] ahci: modify ahci_port_read to use register numbers, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 06/16] ahci: modify ahci_port_write to use register numbers, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 07/16] ahci: make port write traces more descriptive, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 04/16] ahci: fix spacing damage on ahci_port_write, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 10/16] ahci: fix host register max address,
John Snow <=
- [Qemu-block] [PATCH v2 11/16] ahci: modify ahci_mem_read_32 to work on register numbers, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 14/16] ahci: adjust ahci_mem_write to work on registers, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 15/16] ahci: delete old host register address definitions, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 12/16] ahci: make mem_read_32 traces more descriptive, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 13/16] ahci: fix spacing damage on ahci_mem_write, John Snow, 2018/05/31
- [Qemu-block] [PATCH v2 16/16] ahci: make ahci_mem_write traces more descriptive, John Snow, 2018/05/31
- Re: [Qemu-block] [Qemu-devel] [PATCH v2 00/16] AHCI: tracing improvements, no-reply, 2018/05/31
- Re: [Qemu-block] [Qemu-devel] [PATCH v2 00/16] AHCI: tracing improvements, no-reply, 2018/05/31