]> git.proxmox.com Git - mirror_qemu.git/commit
ahci: fix signature generation
authorJohn Snow <jsnow@redhat.com>
Tue, 1 Sep 2015 20:50:39 +0000 (16:50 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Sep 2015 14:58:56 +0000 (10:58 -0400)
commit33a983cb2821600f4ed5720919434256e8371ec2
tree5a67f5b7973770572248121ecac9a8fe8c0c5678
parentf91a0aa3743c8bdf0dc0f646606a3dc8bb2c7df8
ahci: fix signature generation

The initial register device-to-host FIS no longer needs to specially
set certain fields, as these can be handled generically by setting those
fields explicitly with the signatures we want at port reset time.

(1) Signatures are decomposed into their four component registers and
    set upon (AHCI) port reset.
(2) the signature cache register is no longer set manually per-each
    device type, but instead just once during ahci_init_d2h.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1441140641-17631-3-git-send-email-jsnow@redhat.com
hw/ide/ahci.c