aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/ahci.h
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2015-07-04 02:06:03 -0400
committerJohn Snow <jsnow@redhat.com>2015-07-04 02:06:03 -0400
commitd56f4d6965ebcf8f3c496845c286e3a66496fdff (patch)
tree8c10f829458022a985cfa1d8d7a1c5c0afa29f8b /hw/ide/ahci.h
parent3bcbe4aa803c1a41e5392ecac7b4fc3c99a42f89 (diff)
downloadqemu-d56f4d6965ebcf8f3c496845c286e3a66496fdff.zip
qemu-d56f4d6965ebcf8f3c496845c286e3a66496fdff.tar.gz
qemu-d56f4d6965ebcf8f3c496845c286e3a66496fdff.tar.bz2
ahci: separate prdtl from opts
There's no real reason to have it bundled together, and this way is a little nicer to follow if you have the AHCI spec pulled up. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1435016308-6150-6-git-send-email-jsnow@redhat.com
Diffstat (limited to 'hw/ide/ahci.h')
-rw-r--r--hw/ide/ahci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ide/ahci.h b/hw/ide/ahci.h
index 6d167f2..b8872a4 100644
--- a/hw/ide/ahci.h
+++ b/hw/ide/ahci.h
@@ -236,7 +236,8 @@ typedef struct AHCIPortRegs {
} AHCIPortRegs;
typedef struct AHCICmdHdr {
- uint32_t opts;
+ uint16_t opts;
+ uint16_t prdtl;
uint32_t status;
uint64_t tbl_addr;
uint32_t reserved[4];