From 5f272471878c896038b2c3f2bf704655d908828d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 11 Mar 2008 12:14:51 -0700 Subject: Nuke more CARD* types from i810 driver. Untested. --- src/i810.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/i810.h') 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); -- cgit v1.2.3