summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-11-16 14:44:02 -0500
committerAdam Jackson <ajax@redhat.com>2011-11-16 14:44:02 -0500
commit32cd2dfa1214ed3260bf2e40bad06927b18f7f7b (patch)
treeca5c4b6c5bae076943cf21120df135a56f09133a
parentd7be4a953859f12083c1743c73712f9f510d7fda (diff)
Adapt to missing PIOOffset in vgahw
This is actually pretty lame, and I should probably extend vgahw to make it easier to do this kind of trick. Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/tdfx_driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tdfx_driver.c b/src/tdfx_driver.c
index 673bbc7..65c6709 100644
--- a/src/tdfx_driver.c
+++ b/src/tdfx_driver.c
@@ -6,9 +6,6 @@
#include <inttypes.h>
#endif
-#define USE_INT10 1
-#define USE_PCIVGAIO 1
-
/**************************************************************************
Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
@@ -106,6 +103,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "dri.h"
#endif
+#define USE_INT10 1
+#define USE_PCIVGAIO (ABI_VIDEODRV_VERSION < 12)
+
/* Required Functions: */
static const OptionInfoRec * TDFXAvailableOptions(int chipid, int busid);