]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
ahci: MSI capability should be at 0x80, not 0x50.
authorJohn Snow <jsnow@redhat.com>
Thu, 21 Aug 2014 17:44:33 +0000 (13:44 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 22 Sep 2014 10:39:39 +0000 (11:39 +0100)
commitc8b5b20f81030f8f40be041ccc23021ac602c468
treef34b2f4990045341b2b1dedd1fe19462cb9f550a
parent1cd1031ddc3bdef68acbbdd0d010c09279c727ea
ahci: MSI capability should be at 0x80, not 0x50.

In the Intel ICH9 data sheet, the MSI capability offset
in the PCI configuration space for ICH9 AHCI devices is
specified to be 0x80.

Further, the PCI capability pointer should always point
to 0x80 in ICH9 devices, despite the fact that AHCI 1.3
specifies that it should be pointing to PMCAP (Which in
this instance would be 0x70) to maintain adherence to
the Intel data sheet specifications and real observed behavior.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1408643079-30675-3-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/ide/ich.c