From: Gerd Hoffmann Date: Tue, 26 Nov 2013 11:57:19 +0000 (+0100) Subject: pci: don't map usb host adapters above 4G X-Git-Tag: rel-1.7.4~31 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a247e678039817acbf830ee09b2ee31294e12311;p=seabios.git pci: don't map usb host adapters above 4G Otherwise our xhci driver has trouble accessing the mmio registers. Signed-off-by: Gerd Hoffmann --- 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);