]> xenbits.xensource.com Git - seabios.git/commitdiff
pci: don't map usb host adapters above 4G
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Nov 2013 11:57:19 +0000 (12:57 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 29 Nov 2013 08:34:14 +0000 (09:34 +0100)
Otherwise our xhci driver has trouble accessing the mmio registers.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/fw/pciinit.c

index 950b089dfd061129558c776eabd92c5e51e592a5..c40375b7d9c53bb444bba911a6435c8c61334a3a 100644 (file)
@@ -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);