mirror of
https://github.com/qemu/qemu.git
synced 2024-12-13 22:43:32 +08:00
ahci: fix host register max address
Yes, comment, it ought to be 0x2C. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180531222835.16558-11-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
da868a46db
commit
96034081dd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user