From: Kevin O'Connor Date: Fri, 30 Dec 2011 21:36:16 +0000 (-0500) Subject: Don't leave upper bits of 64bit BARs unitialized during pci init. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=seabios.git;a=commitdiff_plain;h=139d5ac037de828f89c36e39c6dd15610650cede Don't leave upper bits of 64bit BARs unitialized during pci init. Signed-off-by: Kevin O'Connor --- diff --git a/src/pciinit.c b/src/pciinit.c index 7d83368..9f3fdd4 100644 --- a/src/pciinit.c +++ b/src/pciinit.c @@ -545,8 +545,10 @@ static void pci_bios_map_devices(struct pci_bus *busses) i, addr, pci->bars[i].size, region_type_name[type]); pci_set_io_region_addr(pci, i, addr); - if (pci->bars[i].is64) + if (pci->bars[i].is64) { i++; + pci_set_io_region_addr(pci, i, 0); + } } } }