summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-12-21 23:07:13 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-12-21 23:07:13 +0000
commit8bdaa927ebca0a23a3bdeed3f4bb11b0f1600684 (patch)
tree7c1d9643ee833d4955bbefab1d395969686c95a3 /src/mesa/drivers/dri/unichrome
parent990dec7ea0ad9eca8340d39fd022baa151c05a03 (diff)
Remove debug code which referenced an old global variable.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_ioctl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_ioctl.c b/src/mesa/drivers/dri/unichrome/via_ioctl.c
index 9286501616..58a3012729 100644
--- a/src/mesa/drivers/dri/unichrome/via_ioctl.c
+++ b/src/mesa/drivers/dri/unichrome/via_ioctl.c
@@ -1469,6 +1469,8 @@ int flush_sys(viaContextPtr vmesa, drm_via_flush_sys_t* buf)
}
}
+
+#if 0
/*=* John Sheng [2003.6.20] debug pci *=*/
if (VIA_DEBUG) {
GLuint *pnEngBase = (GLuint *)((GLuint)pnMMIOBase + 0x400);
@@ -1520,5 +1522,7 @@ int flush_sys(viaContextPtr vmesa, drm_via_flush_sys_t* buf)
}
}
dmaLow = vmesa->dmaLow;
+#endif
+
return 0;
}