summaryrefslogtreecommitdiff
path: root/src/nv_local.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-07 19:40:34 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-07 19:40:34 +0000
commitcb6b4073df7404822e2b553519c3a101f2ab0524 (patch)
treed701b13625f032df9385ad425b2a369d1d7bb1db /src/nv_local.h
parent3f140052f891a4dc674b82e438c9595e59b4676b (diff)
Unlibcwrap. Bump server version requirement. Bump to 1.1.0.nv-1_1_0
Diffstat (limited to 'src/nv_local.h')
-rw-r--r--src/nv_local.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/nv_local.h b/src/nv_local.h
index dc29a6f..3d5d202 100644
--- a/src/nv_local.h
+++ b/src/nv_local.h
@@ -36,7 +36,7 @@
|* those rights set forth herein. *|
|* *|
\***************************************************************************/
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/nv_local.h,v 1.8 2003/07/31 20:24:29 mvojkovi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/nv_local.h,v 1.8tsi Exp $ */
#ifndef __NV_LOCAL_H__
#define __NV_LOCAL_H__
@@ -46,7 +46,6 @@
* HW. Put all affected includes, typdefs, etc. here so the riva_hw.* files
* can stay generic in nature.
*/
-#include "xf86_ansic.h"
#include "compiler.h"
#include "xf86_OSproc.h"
@@ -60,12 +59,12 @@ typedef unsigned int U032;
/*
* HW access macros. These assume memory-mapped I/O, and not normal I/O space.
*/
-#define NV_WR08(p,i,d) MMIO_OUT8((volatile pointer)(p), (i), (d))
-#define NV_RD08(p,i) MMIO_IN8((volatile pointer)(p), (i))
-#define NV_WR16(p,i,d) MMIO_OUT16((volatile pointer)(p), (i), (d))
-#define NV_RD16(p,i) MMIO_IN16((volatile pointer)(p), (i))
-#define NV_WR32(p,i,d) MMIO_OUT32((volatile pointer)(p), (i), (d))
-#define NV_RD32(p,i) MMIO_IN32((volatile pointer)(p), (i))
+#define NV_WR08(p,i,d) MMIO_OUT8((pointer)(p), (i), (d))
+#define NV_RD08(p,i) MMIO_IN8((pointer)(p), (i))
+#define NV_WR16(p,i,d) MMIO_OUT16((pointer)(p), (i), (d))
+#define NV_RD16(p,i) MMIO_IN16((pointer)(p), (i))
+#define NV_WR32(p,i,d) MMIO_OUT32((pointer)(p), (i), (d))
+#define NV_RD32(p,i) MMIO_IN32((pointer)(p), (i))
/* VGA I/O is now always done through MMIO */
#define VGA_WR08(p,i,d) NV_WR08(p,i,d)