Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/server/xorg-server/hw/xfree86/int10 define...



details:   https://anonhg.NetBSD.org/src/rev/e3dd53d8ea72
branches:  trunk
changeset: 760490:e3dd53d8ea72
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Jan 06 03:29:12 2011 +0000

description:
define NO_LEGACY_VGA on macppc and sparc64
May be necessary on other ports as well that have PCI but never use VGA text
mode.

diffstat:

 external/mit/xorg/server/xorg-server/hw/xfree86/int10/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r ae4ac127da19 -r e3dd53d8ea72 external/mit/xorg/server/xorg-server/hw/xfree86/int10/Makefile
--- a/external/mit/xorg/server/xorg-server/hw/xfree86/int10/Makefile    Thu Jan 06 02:45:13 2011 +0000
+++ b/external/mit/xorg/server/xorg-server/hw/xfree86/int10/Makefile    Thu Jan 06 03:29:12 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2010/11/25 16:02:02 mrg Exp $
+# $NetBSD: Makefile,v 1.7 2011/01/06 03:29:12 macallan Exp $
 
 XMODULEDIR=    ${X11USRLIBDIR}/modules
 
@@ -18,6 +18,11 @@
 CPPFLAGS+=     -D_PC
 .endif
 
+# do not muck around in IO space trying to enable / disable non-PCI VGAs
+.if ${MACHINE} == "macppc" || ${MACHINE} == "sparc64"
+CPPFLAGS+=     -DNO_LEGACY_VGA
+.endif
+
 CPPFLAGS+=     -I${X11SRCDIR.xorg-server}/hw/xfree86/common \
                -I${X11SRCDIR.xorg-server}/hw/xfree86/os-support \
                -I${X11SRCDIR.xorg-server}/hw/xfree86/os-support/bus \



Home | Main Index | Thread Index | Old Index