summaryrefslogtreecommitdiff
path: root/src/i810.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-03-11 12:14:51 -0700
committerEric Anholt <eric@anholt.net>2008-03-11 12:14:51 -0700
commit5f272471878c896038b2c3f2bf704655d908828d (patch)
tree85b3e51e6520ad490648c9b8dcc3e8ab3bdba5c1 /src/i810.h
parent9a62d3b598cca3c28fa8b6313bba82983cc29ecf (diff)
Nuke more CARD* types from i810 driver. Untested.
Diffstat (limited to 'src/i810.h')
-rw-r--r--src/i810.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/i810.h b/src/i810.h
index 8023c385..bd2985cb 100644
--- a/src/i810.h
+++ b/src/i810.h
@@ -85,11 +85,12 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
typedef struct _I810Rec *I810Ptr;
typedef void (*I810WriteIndexedByteFunc)(I810Ptr pI810, IOADDRESS addr,
- CARD8 index, CARD8 value);
-typedef CARD8(*I810ReadIndexedByteFunc)(I810Ptr pI810, IOADDRESS addr,
- CARD8 index);
-typedef void (*I810WriteByteFunc)(I810Ptr pI810, IOADDRESS addr, CARD8 value);
-typedef CARD8(*I810ReadByteFunc)(I810Ptr pI810, IOADDRESS addr);
+ uint8_t index, uint8_t value);
+typedef uint8_t(*I810ReadIndexedByteFunc)(I810Ptr pI810, IOADDRESS addr,
+ uint8_t index);
+typedef void (*I810WriteByteFunc)(I810Ptr pI810, IOADDRESS addr,
+ uint8_t value);
+typedef uint8_t(*I810ReadByteFunc)(I810Ptr pI810, IOADDRESS addr);
extern void I810SetTiledMemory(ScrnInfoPtr pScrn, int nr, unsigned start,
unsigned pitch, unsigned size);