Regarding: 4.3.0 does not build GART support on OpenBSD
Email: [EMAIL PROTECTED]
------------------------------------------------------------
XFree86 Version: 4.3.0

OS: OpenBSD 3.2

Area: Xserver

Server: XFree86 (The XFree86 4.x server)

Video Card:

i845

Description:

The i845 driver almost always requires AGP to be functional because there is so little 
memory already reserved for the card upon booting.  Anyway, OpenBSD supports the AGP 
GART API now but it isn't enabledd for some reason in XFree86 (but is in the GENERIC 
3.2 kernel, at the very least).  Small fix:
Index: bsd/Imakefile
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/os-support/bsd/Imakefile,v
retrieving revision 3.57
diff -u -r3.57 Imakefile
--- bsd/Imakefile       2003/02/17 16:37:19     3.57
+++ bsd/Imakefile       2003/03/14 15:23:13
@@ -127,7 +127,7 @@
 AXP_OBJ=bsd_ev56.o xf86Axp.o bsd_axp.o
 #endif
 
-#if (defined(FreeBSDArchitecture) || defined(NetBSDArchitecture)) && HasAgpGart
+#if (defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) || 
defined(OpenBSDArchitecture)) && HasAgpGart
 AGP_SRC=lnx_agp.c
 AGP_OBJ=lnx_agp.o
 #else
@@ -218,7 +218,7 @@
 LinkSourceFile(vidmem.c,../shared)
 LinkSourceFile(sigio.c,../shared)
 LinkSourceFile(kmod_noop.c,../shared)
-#if (defined(FreeBSDArchitecture) || defined(NetBSDArchitecture)) && HasAgpGart
+#if (defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) || 
defined(OpenBSDArchitecture)) && HasAgpGart
 LinkSourceFile(lnx_agp.c,../linux)
 #else
 LinkSourceFile(agp_noop.c,../shared)
Index: linux/lnx_agp.c
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c,v
retrieving revision 3.10
diff -u -r3.10 lnx_agp.c
--- linux/lnx_agp.c     2002/12/12 18:29:11     3.10
+++ linux/lnx_agp.c     2003/03/14 15:23:13
@@ -18,7 +18,7 @@
 #if defined(linux)
 #include <asm/ioctl.h>
 #include <linux/agpgart.h>
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
 #include <sys/ioctl.h>
 #include <sys/agpio.h>
 #endif


Repeat By:



_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to