summaryrefslogtreecommitdiff
path: root/src/r128.h
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2008-01-08 18:15:47 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2008-01-11 15:31:17 +0200
commit80c9974b6cdc0147d777df6990b3f3aacd87969d (patch)
tree496132a74cb4fb0716e4f0b24d87aeeacff2946d /src/r128.h
parentcd4b39403d74f314e1c2cfa4cf0e4fe542891dc3 (diff)
r128: pci-rework conversion
compile-tested only
Diffstat (limited to 'src/r128.h')
-rw-r--r--src/r128.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/r128.h b/src/r128.h
index dd1a670c..1205245d 100644
--- a/src/r128.h
+++ b/src/r128.h
@@ -63,6 +63,8 @@
#include "GL/glxint.h"
#endif
+#include "atipcirename.h"
+
#define R128_DEBUG 0 /* Turn off debugging output */
#define R128_IDLE_RETRY 32 /* Fall out of idle loops after this count */
#define R128_TIMEOUT 2000000 /* Fall out of wait loops after this count */
@@ -234,8 +236,8 @@ typedef struct {
unsigned long MMIOAddr; /* MMIO region physical address */
unsigned long BIOSAddr; /* BIOS physical address */
- unsigned char *MMIO; /* Map of MMIO region */
- unsigned char *FB; /* Map of frame buffer */
+ void *MMIO; /* Map of MMIO region */
+ void *FB; /* Map of frame buffer */
CARD32 MemCntl;
CARD32 BusCntl;