summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-01 17:20:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-01 17:20:22 +0000
commit38ea65ae3d5e4b8f11597ab027f386599ca38925 (patch)
tree185e0e85a28e4abd6bf08f562979eb88174b4859
parent4f2ed9e46372db1fd400b1cd6c52266d8e6aff0d (diff)
Fix previous change that broke kd console
-rw-r--r--sys/arch/sun3/sun3/conf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sun3/sun3/conf.c b/sys/arch/sun3/sun3/conf.c
index 7740cbb4a82..6c139549b7e 100644
--- a/sys/arch/sun3/sun3/conf.c
+++ b/sys/arch/sun3/sun3/conf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.44 1995/10/08 23:46:27 gwr Exp $ */
+/* $NetBSD: conf.c,v 1.44.2.1 1995/10/29 04:22:44 gwr Exp $ */
/*-
* Copyright (c) 1994 Adam Glass, Gordon W. Ross
@@ -180,7 +180,7 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 10: systech multi-terminal board */
cdev_notdef(), /* 11: DES encryption chip */
cdev_tty_init(NZS,zs), /* 12: Zilog 8350 serial port */
- cdev_mouse_init(NZS-1,ms), /* 13: Sun mouse */
+ cdev_mouse_init(NKD,ms), /* 13: Sun mouse */
cdev_notdef(), /* 14: cgone */
cdev_notdef(), /* 15: /dev/winXXX */
cdev_log_init(1,log), /* 16: /dev/klog */
@@ -196,7 +196,7 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 26: bwone */
cdev_fb_init(NBWTWO,bw2), /* 27: bwtwo */
cdev_notdef(), /* 28: Systech VPC-2200 versatec/centronics */
- cdev_mouse_init(NZS-1,kbd), /* 29: Sun keyboard */
+ cdev_mouse_init(NKD,kbd), /* 29: Sun keyboard */
cdev_tape_init(NXT,xt), /* 30: Xylogics tape */
cdev_fb_init(NCGTWO,cg2), /* 31: cgtwo */
cdev_notdef(), /* 32: /dev/gpone */
@@ -388,7 +388,7 @@ struct consdev constab[] = {
{ zscnprobe_a, zscninit, zscngetc, zscnputc, zscnpollc },
{ zscnprobe_b, zscninit, zscngetc, zscnputc, zscnpollc },
#endif
-#if NKD > 1
+#if NKD > 0
cons_init(kd),
#endif
{ 0 }, /* REQIURED! */