]> git.ipfire.org Git - thirdparty/qemu.git/commit
ahci: send init d2h fis on fis enable
authorAlexander Graf <agraf@suse.de>
Tue, 1 Feb 2011 14:51:29 +0000 (15:51 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Feb 2011 11:55:23 +0000 (12:55 +0100)
commitabc99974161813754ecf5fd5f8bbb95d11abd10e
tree2d2489045f07d13ec757fb6075384e8706bd0534
parented97a4f2cf98a353449ea4c5edd5fcf15dffcc49
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>
(cherry picked from commit 87e62065bb5e0e544e45e6935e3ac2b053fe446e)
hw/ide/ahci.c
hw/ide/ahci.h