diff options
author | n_hibma <n_hibma@FreeBSD.org> | 1999-01-14 01:28:15 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 1999-01-14 01:28:15 +0000 |
commit | 229f57eb8f306ebe3d4ad60839c54b642df32aa4 (patch) | |
tree | de317ce3b34a8a4f36c9ca5727d4488b93ea661c /sys/dev/usb/ukbd.c | |
parent | cd40f4d28ab93dee00e802d75b820a19cf4eacb1 (diff) | |
download | FreeBSD-src-229f57eb8f306ebe3d4ad60839c54b642df32aa4.zip FreeBSD-src-229f57eb8f306ebe3d4ad60839c54b642df32aa4.tar.gz |
Corrected the latent fact that the uhub driver was providing a driver for
the usb device class instead of the uhub devclass. Only a problem with more
than one USB host controller.
Diffstat (limited to 'sys/dev/usb/ukbd.c')
-rw-r--r-- | sys/dev/usb/ukbd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c index c9b9a72..0d54e01 100644 --- a/sys/dev/usb/ukbd.c +++ b/sys/dev/usb/ukbd.c @@ -542,11 +542,11 @@ ukbd_intr(reqh, addr, status) /* XXX shouldn't the keys be used? */ for (i = 0; i < nkeys; i++) { c = ibuf[i]; - printf("%c (%d) %s\n", + printf("%c (%d) %s ", ((c&0xff) < 32 || (c&0xff) > 126? '.':(c&0xff)), c, (c&RELEASE? "released":"pressed")); if (ud->modifiers) - printf("0x%04x\n", ud->modifiers); + printf("mod = 0x%04x ", ud->modifiers); for (i = 0; i < NKEYCODE; i++) if (ud->keycode[i]) printf("%d ", ud->keycode[i]); @@ -676,5 +676,5 @@ ukbd_cnattach(v) #endif /* NetBSD */ #if defined(__FreeBSD__) -DRIVER_MODULE(ukbd, usb, ukbd_driver, ukbd_devclass, usbd_driver_load, 0); +DRIVER_MODULE(ukbd, uhub, ukbd_driver, ukbd_devclass, usbd_driver_load, 0); #endif |