Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/atkbdc/atkbdc_subr.c
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
MALLOC_DEFINE(M_ATKBDDEV, "atkbddev", "AT Keyboard device"); | MALLOC_DEFINE(M_ATKBDDEV, "atkbddev", "AT Keyboard device"); | ||||
devclass_t atkbdc_devclass; | devclass_t atkbdc_devclass; | ||||
int | int | ||||
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; | ||||
kbdcdev = (atkbdc_device_t *)device_get_ivars(dev); | kbdcdev = (atkbdc_device_t *)device_get_ivars(dev); | ||||
retval += bus_print_child_header(bus, dev); | retval += bus_print_child_header(bus, dev); | ||||
flags = device_get_flags(dev); | flags = device_get_flags(dev); | ||||
if (flags != 0) | if (flags != 0) | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |