ahci: add port register enumeration
authorJohn Snow <jsnow@redhat.com>
Fri, 8 Jun 2018 17:17:36 +0000 (13:17 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 8 Jun 2018 17:17:36 +0000 (13:17 -0400)
commit4e6e1de4e05b01292027fdd9f36a507872c33b9d
treee161382debbed47aae944d944dd5f091697712cc
parent42af312adef8afdae11d5f83d12a404b178dbda4
ahci: add port register enumeration

Instead of tracking offsets, lets count the registers.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180531222835.16558-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/ahci.c
hw/ide/ahci_internal.h