diff options
author | Alexander Graf <agraf@suse.de> | 2011-02-01 15:51:29 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-02-07 11:38:35 +0100 |
commit | 87e62065bb5e0e544e45e6935e3ac2b053fe446e (patch) | |
tree | d7904872907ff0354aea94166ebd13d755fdffa1 /hw/ide/ahci.h | |
parent | 7fb6577b130c615e42e1ccf8dad69c27c3eef085 (diff) |
ahci: send init d2h fis on fis enable
The drive sends a d2h init fis on initialization. Usually, the guest doesn't
receive fises yet at that point though, so the delivery is deferred.
Let's reflect that by sending the init fis on fis receive enablement.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/ahci.h')
-rw-r--r-- | hw/ide/ahci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/ahci.h b/hw/ide/ahci.h index d65b5e334a..b2786d1c07 100644 --- a/hw/ide/ahci.h +++ b/hw/ide/ahci.h @@ -282,6 +282,7 @@ struct AHCIDevice { int dma_status; int done_atapi_packet; int busy_slot; + int init_d2h_sent; BlockDriverCompletionFunc *dma_cb; AHCICmdHdr *cur_cmd; NCQTransferState ncq_tfs[AHCI_MAX_CMDS]; |