1
0
xorg-x11-server/ia64linuxPciInit.diff

15 lines
466 B
Diff

--- hw/xfree86/os-support/bus/linuxPci.c
+++ hw/xfree86/os-support/bus/linuxPci.c
@@ -999,7 +999,10 @@ ia64linuxPciInit()
struct stat st;
linuxPciInit();
-
+
+ /* Need space for fake devices. */
+ xf86MaxPciDevs = MAX_PCI_DEVICES;
+
if (!stat("/proc/sgi_sn/licenseID", &st) && pciNumBuses) {
/* Be a little paranoid here and only use this code for Altix systems.
* It is generic, so it should work on any system, but depends on