Author: blueswirl Date: 2009-01-17 20:02:38 +0100 (Sat, 17 Jan 2009) New Revision: 416
Modified: openbios-devel/drivers/pci.c Log: Fix PCI I/O ports allocation (Aurelien Jarno)
Modified: openbios-devel/drivers/pci.c =================================================================== --- openbios-devel/drivers/pci.c 2009-01-17 18:42:48 UTC (rev 415) +++ openbios-devel/drivers/pci.c 2009-01-17 19:02:38 UTC (rev 416) @@ -760,7 +760,9 @@ /* 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);