From d56f4d6965ebcf8f3c496845c286e3a66496fdff Mon Sep 17 00:00:00 2001 From: John Snow Date: Sat, 4 Jul 2015 02:06:03 -0400 Subject: 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 Reviewed-by: Stefan Hajnoczi Message-id: 1435016308-6150-6-git-send-email-jsnow@redhat.com --- hw/ide/ahci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/ide/ahci.h') 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]; -- cgit v1.1