Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/atkbdc/atkbdc_subr.c
Context not available. | |||||
atkbdc_print_child(device_t bus, device_t dev) | atkbdc_print_child(device_t bus, device_t dev) | ||||
{ | { | ||||
atkbdc_device_t *kbdcdev; | atkbdc_device_t *kbdcdev; | ||||
u_long irq; | rman_res_t irq; | ||||
int flags; | int flags; | ||||
int retval = 0; | int retval = 0; | ||||
Context not available. | |||||
retval += printf(" flags 0x%x", flags); | retval += printf(" flags 0x%x", flags); | ||||
irq = bus_get_resource_start(dev, SYS_RES_IRQ, kbdcdev->rid); | irq = bus_get_resource_start(dev, SYS_RES_IRQ, kbdcdev->rid); | ||||
if (irq != 0) | if (irq != 0) | ||||
retval += printf(" irq %ld", irq); | retval += printf(" irq %jd", irq); | ||||
retval += bus_print_child_footer(bus, dev); | retval += bus_print_child_footer(bus, dev); | ||||
return (retval); | return (retval); | ||||
Context not available. |