ahci: handle LIST_ON and FIS_ON in map helpers
commitf32a2f33c2e765addcca7748f9df692e4131a0e2
authorJohn Snow <jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:40 +0000 (10 13:29 -0500)
committerJohn Snow <jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:40 +0000 (10 13:29 -0500)
treee50e024c5af35ceec1c506a70c5193ad85b7e0b8
parent99b4cb71069f109b79b27bc629fc0cf0886dbc4b
ahci: handle LIST_ON and FIS_ON in map helpers

Instead of relying on ahci_cond_start_engines to maintain the
engine status indicators itself, have the lower-layer CLB and FIS mapper
helpers do it themselves.

This makes the cond_start routine slightly nicer to read, and makes sure
that the status indicators will always be correct.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1454103689-13042-3-git-send-email-jsnow@redhat.com
hw/ide/ahci.c