Module Name: src Committed By: gdt Date: Tue Mar 2 00:01:27 UTC 2021
Modified Files: src/sys/dev/usb: ukbd.c Log Message: ukbd: Condition probe-time verbosity on USBVERBOSE Previously, this driver switched on more verbose messages based on DIAGNOSTIC. But, the messages weren't about an impossible-to-reach condition, just extra keys. Change the condition to USBVERBOSE, documented as serving this purpose. To generate a diff of this commit: cvs rdiff -u -r1.147 -r1.148 src/sys/dev/usb/ukbd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/ukbd.c diff -u src/sys/dev/usb/ukbd.c:1.147 src/sys/dev/usb/ukbd.c:1.148 --- src/sys/dev/usb/ukbd.c:1.147 Sat Sep 12 18:10:37 2020 +++ src/sys/dev/usb/ukbd.c Tue Mar 2 00:01:27 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ukbd.c,v 1.147 2020/09/12 18:10:37 macallan Exp $ */ +/* $NetBSD: ukbd.c,v 1.148 2021/03/02 00:01:27 gdt Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ukbd.c,v 1.147 2020/09/12 18:10:37 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ukbd.c,v 1.148 2021/03/02 00:01:27 gdt Exp $"); #ifdef _KERNEL_OPT #include "opt_ddb.h" @@ -435,7 +435,7 @@ ukbd_attach(device_t parent, device_t se sc->sc_flags = FLAG_GDIUM_FN; #endif -#ifdef DIAGNOSTIC +#ifdef USBVERBOSE aprint_normal(": %d Variable keys, %d Array codes", sc->sc_nkeyloc, sc->sc_nkeycode); if (sc->sc_flags & FLAG_APPLE_FN)