]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
megasas: read addional PCI I/O bar
authorHannes Reinecke <hare@suse.de>
Thu, 6 Nov 2014 13:31:56 +0000 (14:31 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 10 Nov 2014 10:23:35 +0000 (11:23 +0100)
commit09f876f11743c1143c73a52eb889ae9231f7a5b3
tree87c867e98265297ce9c63fa0f6fff9ada48ab25b
parent85230163bda80356fed5832336e4356ef56073c5
megasas: read addional PCI I/O bar

Some newer cards have the I/O bar at BAR 0, so we need to check
that, too, if we cannot get an address for BAR 2.
Without this patch the new 'megasas-gen2' emulation in qemu
is not detected.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/hw/megasas.c