Module Name:    xsrc
Committed By:   mrg
Date:           Tue Nov 23 23:20:31 UTC 2010

Modified Files:
        xsrc/external/mit/xf86-video-chips/dist/src: ct_driver.c

Log Message:
don't try to use the removed mibank support for
GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
    xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c
diff -u xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.5 xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.6
--- xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.5	Sat Aug 14 08:41:09 2010
+++ xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c	Tue Nov 23 23:20:31 2010
@@ -103,7 +103,11 @@
 #include "mibstore.h"
 
 /* All drivers using the mi banking wrapper need this */
-#ifdef HAVE_ISA
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
+#define USE_MIBANK
+#endif
+
+#ifdef USE_MIBANK
 #include "mibank.h"
 #endif
 
@@ -4065,7 +4069,7 @@
 
     cPtr->HWCursorShown = FALSE;
 
-#ifdef HAVE_ISA
+#ifdef USE_MIBANK
     if (!(cPtr->Flags & ChipsLinearSupport)) {
 	miBankInfoPtr pBankInfo;
 

Reply via email to