summaryrefslogtreecommitdiff
path: root/sys/dev/pckbc
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-05-04 09:33:47 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-05-04 09:33:47 +0000
commitb9fbec7c344af6713f8d9f68cd22197064bd5dfa (patch)
tree6ed9f037a27c4cfc153c74f35540b16c3a3c8628 /sys/dev/pckbc
parent7c60c12802d497e1d9c92a59ad2acfff12123b97 (diff)
Print irq informations in pckbc_set_inputhandler().
ok miod@
Diffstat (limited to 'sys/dev/pckbc')
-rw-r--r--sys/dev/pckbc/pckbd.c6
-rw-r--r--sys/dev/pckbc/pms.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pckbc/pckbd.c b/sys/dev/pckbc/pckbd.c
index 1fa24438fef..6bd4ed52f13 100644
--- a/sys/dev/pckbc/pckbd.c
+++ b/sys/dev/pckbc/pckbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pckbd.c,v 1.41 2015/03/16 01:54:47 jcs Exp $ */
+/* $OpenBSD: pckbd.c,v 1.42 2015/05/04 09:33:46 mpi Exp $ */
/* $NetBSD: pckbd.c,v 1.24 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
@@ -362,8 +362,6 @@ pckbdattach(struct device *parent, struct device *self, void *aux)
struct wskbddev_attach_args a;
u_char cmd[1];
- printf("\n");
-
isconsole = pckbd_is_console(pa->pa_tag, pa->pa_slot);
if (isconsole) {
@@ -404,6 +402,8 @@ pckbdattach(struct device *parent, struct device *self, void *aux)
a.accessops = &pckbd_accessops;
a.accesscookie = sc;
+ printf("\n");
+
/*
* Attach the wskbd, saving a handle to it.
*/
diff --git a/sys/dev/pckbc/pms.c b/sys/dev/pckbc/pms.c
index 9ff6c727e5a..d34636127ec 100644
--- a/sys/dev/pckbc/pms.c
+++ b/sys/dev/pckbc/pms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pms.c,v 1.59 2015/04/10 08:48:08 stsp Exp $ */
+/* $OpenBSD: pms.c,v 1.60 2015/05/04 09:33:46 mpi Exp $ */
/* $NetBSD: psm.c,v 1.11 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
@@ -680,11 +680,11 @@ pmsattach(struct device *parent, struct device *self, void *aux)
sc->sc_kbctag = pa->pa_tag;
- printf("\n");
-
pckbc_set_inputhandler(sc->sc_kbctag, PCKBC_AUX_SLOT,
pmsinput, sc, DEVNAME(sc));
+ printf("\n");
+
a.accessops = &pms_accessops;
a.accesscookie = sc;