Index: lnx_video.c =================================================================== RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c,v retrieving revision 1.3 diff -u -r1.3 lnx_video.c --- lnx_video.c 2 Aug 2004 21:15:30 -0000 1.3 +++ lnx_video.c 1 Sep 2004 00:36:39 -0000 @@ -520,7 +520,7 @@ } close(fd); #elif !defined(__mc68000__) && !defined(__sparc__) && !defined(__mips__) && !defined(__sh__) && !defined(__hppa__) - if (ioperm(0, 1024, 1) || iopl(3)) + if (iopl(3) || ioperm(0, 1024, 1)) FatalError("xf86EnableIOPorts: Failed to set IOPL for I/O\n"); # if !defined(__alpha__) ioperm(0x40,4,0); /* trap access to the timer chip */