Type sanity: use uintptr_t * for read_ivar and u_int8_t instead of u_char

This commit is contained in:
Warner Losh 2001-08-10 06:00:44 +00:00
parent f470b3bb56
commit e4db871961
2 changed files with 3 additions and 3 deletions

View File

@ -297,7 +297,7 @@ pccard_release_resource(device_t bus, device_t child, int type, int rid,
}
static int
pccard_read_ivar(device_t bus, device_t child, int which, u_char *result)
pccard_read_ivar(device_t bus, device_t child, int which, uintptr_t *result)
{
struct pccard_devinfo *devi = PCCARD_DEVINFO(child);

View File

@ -33,8 +33,8 @@ struct pcic_slot {
char revision; /* Device Revision */
struct slot *slt; /* Back ptr to slot */
struct pcic_softc *sc; /* Back pointer to softc */
u_char (*getb)(struct pcic_slot *, int);
void (*putb)(struct pcic_slot *, int, u_char);
u_int8_t (*getb)(struct pcic_slot *, int);
void (*putb)(struct pcic_slot *, int, u_int8_t);
bus_space_tag_t bst;
bus_space_handle_t bsh;
driver_intr_t *intr;