Fix PCI I/O ports allocation (Aurelien Jarno)

git-svn-id: svn://coreboot.org/openbios/openbios-devel@416 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2009-01-17 19:02:38 +00:00
parent 0726678a35
commit 0560ab5941

View File

@@ -760,7 +760,9 @@ int ob_pci_init(void)
/* Find all PCI bridges */
mem_base = arch->mem_base;
io_base = arch->io_base;
/* I/O ports under 0x400 are used by devices mapped at fixed
location. */
io_base = arch->io_base + 0x400;
path = strdup("");
for (bus = 0; bus<0x100; bus++) {
ob_scan_pci_bus(bus, &mem_base, &io_base, &path);