Module Name: src
Committed By: jakllsch
Date: Sun Jun 3 15:02:56 UTC 2018
Modified Files:
src/sys/dev/pckbport: alps.c
Log Message:
Move two probe-time aprint_errors to debug and verbose level instead.
These two are regularly happening within qemu, and would muddle up the
aprint error counter otherwise.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pckbport/alps.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/pckbport/alps.c
diff -u src/sys/dev/pckbport/alps.c:1.4 src/sys/dev/pckbport/alps.c:1.5
--- src/sys/dev/pckbport/alps.c:1.4 Wed Aug 16 21:18:58 2017
+++ src/sys/dev/pckbport/alps.c Sun Jun 3 15:02:56 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: alps.c,v 1.4 2017/08/16 21:18:58 nat Exp $ */
+/* $NetBSD: alps.c,v 1.5 2018/06/03 15:02:56 jakllsch Exp $ */
/*-
* Copyright (c) 2017 Ryo ONODERA <[email protected]>
@@ -30,7 +30,7 @@
#include "opt_pms.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.4 2017/08/16 21:18:58 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.5 2018/06/03 15:02:56 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -261,7 +261,7 @@ pms_alps_ecsig(struct pms_softc *psc, ui
return 0;
err:
- aprint_error_dev(psc->sc_dev, "Failed to get EC signature.\n");
+ aprint_debug_dev(psc->sc_dev, "Failed to get EC signature.\n");
return res;
}
@@ -752,7 +752,7 @@ err:
cmd[0] = PMS_RESET;
(void)pckbport_poll_cmd(psc->sc_kbctag, psc->sc_kbcslot, cmd,
1, 2, resp, 1);
- aprint_error_dev(psc->sc_dev, "Failed to initialize an ALPS device.\n");
+ aprint_verbose_dev(psc->sc_dev, "Failed to initialize an ALPS device.\n");
return res;
}