aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-11-26 12:57:19 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-11-29 09:34:14 +0100
commita247e678039817acbf830ee09b2ee31294e12311 (patch)
tree983bafdd90b68608759389d9558d00ae136a8b35
parent95c5afc201871d5723c1b220a9104e3269e2a21b (diff)
downloadseabios-a247e678039817acbf830ee09b2ee31294e12311.zip
seabios-a247e678039817acbf830ee09b2ee31294e12311.tar.gz
seabios-a247e678039817acbf830ee09b2ee31294e12311.tar.bz2
pci: don't map usb host adapters above 4G
Otherwise our xhci driver has trouble accessing the mmio registers. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--src/fw/pciinit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c
index 950b089..c40375b 100644
--- a/src/fw/pciinit.c
+++ b/src/fw/pciinit.c
@@ -579,6 +579,8 @@ static void pci_region_migrate_64bit_entries(struct pci_region *from,
hlist_for_each_entry_safe(entry, n, &from->list, node) {
if (!entry->is64)
continue;
+ if (entry->dev->class == PCI_CLASS_SERIAL_USB)
+ continue;
// Move from source list to destination list.
hlist_del(&entry->node);
hlist_add(&entry->node, last);