commit | 8936dbb2cd5403c9a8279c849f7f4b0ccc0796ac | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Thu Nov 06 14:31:56 2014 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Mon Nov 10 11:30:55 2014 +0100 |
tree | 6e31ac3ea25f294345cd325e32ffa792d8a02c1f | |
parent | bc8a06350c3e061bb831182e90b49e031d40bd4f [diff] |
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> (cherry picked from commit 09f876f11743c1143c73a52eb889ae9231f7a5b3)