diff options
author | Eric Anholt <eric@anholt.net> | 2008-03-11 12:14:51 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-03-11 12:14:51 -0700 |
commit | 5f272471878c896038b2c3f2bf704655d908828d (patch) | |
tree | 85b3e51e6520ad490648c9b8dcc3e8ab3bdba5c1 /src/i810.h | |
parent | 9a62d3b598cca3c28fa8b6313bba82983cc29ecf (diff) |
Nuke more CARD* types from i810 driver. Untested.
Diffstat (limited to 'src/i810.h')
-rw-r--r-- | src/i810.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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); |