psm(4): Reduce psm watchdog verbosity

Modern touchpads do not issue interrupts on inactivity so "lost interrupt"
message became annoying spam nowadays. This change quiets the message
if debug.psm.loglevel=5 (or less) is set in /boot/loader.conf

Approved by:	gonzo
This commit is contained in:
Vladimir Kondratyev 2018-01-31 21:46:37 +00:00
parent 9de4d0b11e
commit f451e00544
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328638

View File

@ -2878,7 +2878,7 @@ psmtimeout(void *arg)
sc = (struct psm_softc *)arg;
s = spltty();
if (sc->watchdog && kbdc_lock(sc->kbdc, TRUE)) {
VLOG(4, (LOG_DEBUG, "psm%d: lost interrupt?\n", sc->unit));
VLOG(6, (LOG_DEBUG, "psm%d: lost interrupt?\n", sc->unit));
psmintr(sc);
kbdc_lock(sc->kbdc, FALSE);
}