summaryrefslogtreecommitdiff
path: root/src/generic_bus.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-05-12 12:06:33 -0400
committerAlex Deucher <alex@botch2.com>2008-05-12 12:06:33 -0400
commit908b7b940e3ef296836bc94680ebb8ab67650e31 (patch)
tree20edaba5bffdef2b3625f73ff5d297d3b0c952cb /src/generic_bus.h
parent87e66ce76430890ab4939ffcd42f72b9288eb598 (diff)
Replace CARD{8,16,32} with uint{8,16,32}_t
As has been done with xf86-video-intel, replace all CARD* datatypes with uint*_t datatypes available from stdint.h.
Diffstat (limited to 'src/generic_bus.h')
-rw-r--r--src/generic_bus.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/generic_bus.h b/src/generic_bus.h
index 6197eabd..ecefdcdb 100644
--- a/src/generic_bus.h
+++ b/src/generic_bus.h
@@ -21,10 +21,10 @@ typedef struct _GENERIC_BUS_Rec{
int scrnIndex;
DevUnion DriverPrivate;
Bool (*ioctl)(GENERIC_BUS_Ptr, long, long, char *);
- Bool (*read)(GENERIC_BUS_Ptr, CARD32, CARD32, CARD8 *);
- Bool (*write)(GENERIC_BUS_Ptr, CARD32, CARD32, CARD8 *);
- Bool (*fifo_read)(GENERIC_BUS_Ptr, CARD32, CARD32, CARD8 *);
- Bool (*fifo_write)(GENERIC_BUS_Ptr, CARD32, CARD32, CARD8 *);
+ Bool (*read)(GENERIC_BUS_Ptr, uint32_t, uint32_t, uint8_t *);
+ Bool (*write)(GENERIC_BUS_Ptr, uint32_t, uint32_t, uint8_t *);
+ Bool (*fifo_read)(GENERIC_BUS_Ptr, uint32_t, uint32_t, uint8_t *);
+ Bool (*fifo_write)(GENERIC_BUS_Ptr, uint32_t, uint32_t, uint8_t *);
} GENERIC_BUS_Rec;