summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-06-04 19:18:19 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-06-04 19:18:19 +0000
commit558242929d7c438b88b40a94fcde41af2ce5de6b (patch)
treec16c8172f94ba5a926b49a0ebb7fe2e0988c4744 /sys/arch/sparc64/dev
parent30ea024923ba650bdffbc84efb645461059fb038 (diff)
Identify keyboard/mouse ports if not claimed by other drivers.
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/z8530tty.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/z8530tty.c b/sys/arch/sparc64/dev/z8530tty.c
index be813e80cef..a5b191569a9 100644
--- a/sys/arch/sparc64/dev/z8530tty.c
+++ b/sys/arch/sparc64/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.4 2002/03/14 01:26:45 millert Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.5 2002/06/04 19:18:18 jason Exp $ */
/* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */
/*-
@@ -332,6 +332,11 @@ zstty_attach(parent, self, aux)
return;
}
#endif
+
+ if (strcmp(args->type, "keyboard") == 0 ||
+ strcmp(args->type, "mouse") == 0)
+ printf(", %s", args->type);
+
printf("\n");
tp = ttymalloc();