Index: head/sys/dev/ppbus/ppb_1284.c =================================================================== --- head/sys/dev/ppbus/ppb_1284.c +++ head/sys/dev/ppbus/ppb_1284.c @@ -57,13 +57,13 @@ * Wait for the peripherial up to 40ms */ static int -do_1284_wait(device_t bus, char mask, char status) +do_1284_wait(device_t bus, uint8_t mask, uint8_t status) { return (ppb_poll_bus(bus, 4, mask, status, PPB_NOINTR | PPB_POLL)); } static int -do_peripheral_wait(device_t bus, char mask, char status) +do_peripheral_wait(device_t bus, uint8_t mask, uint8_t status) { return (ppb_poll_bus(bus, 100, mask, status, PPB_NOINTR | PPB_POLL)); } Index: head/sys/dev/ppbus/ppb_base.c =================================================================== --- head/sys/dev/ppbus/ppb_base.c +++ head/sys/dev/ppbus/ppb_base.c @@ -54,11 +54,11 @@ */ int ppb_poll_bus(device_t bus, int max, - char mask, char status, int how) + uint8_t mask, uint8_t status, int how) { struct ppb_data *ppb = DEVTOSOFTC(bus); int i, j, error; - char r; + uint8_t r; ppb_assert_locked(bus); @@ -186,7 +186,7 @@ int ppb_get_status(device_t bus, struct ppb_status *status) { - register char r; + uint8_t r; ppb_assert_locked(bus); Index: head/sys/dev/ppbus/ppbconf.h =================================================================== --- head/sys/dev/ppbus/ppbconf.h +++ head/sys/dev/ppbus/ppbconf.h @@ -263,7 +263,7 @@ extern void ppb_init_callout(device_t, struct callout *, int); extern int ppb_sleep(device_t, void *, int, const char *, int); extern int ppb_get_status(device_t, struct ppb_status *); -extern int ppb_poll_bus(device_t, int, char, char, int); +extern int ppb_poll_bus(device_t, int, uint8_t, uint8_t, int); extern int ppb_reset_epp_timeout(device_t); extern int ppb_ecp_sync(device_t); extern int ppb_get_epp_protocol(device_t);