mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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
This commit is contained in:
parent
3bcbe4aa80
commit
d56f4d6965
2 changed files with 14 additions and 12 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue