Subject: error in conf.c fixed
To: None <port-sun3@NetBSD.ORG>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 10/28/1995 17:08:35
I botched my last change to sun3/conf.c such that the "kd" device
(keyboard/display) can never become a console. Oops!
Here is the fix:
diff -rc ../sun3.orig/sun3/conf.c ./sun3/conf.c
*** ../sun3.orig/sun3/conf.c Fri Oct 13 22:28:19 1995
--- ./sun3/conf.c Sat Oct 28 13:41:09 1995
***************
*** 180,186 ****
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_notdef(), /* 14: cgone */
cdev_notdef(), /* 15: /dev/winXXX */
cdev_log_init(1,log), /* 16: /dev/klog */
--- 180,186 ----
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(NKD,ms), /* 13: Sun mouse */
cdev_notdef(), /* 14: cgone */
cdev_notdef(), /* 15: /dev/winXXX */
cdev_log_init(1,log), /* 16: /dev/klog */
***************
*** 196,202 ****
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_tape_init(NXT,xt), /* 30: Xylogics tape */
cdev_fb_init(NCGTWO,cg2), /* 31: cgtwo */
cdev_notdef(), /* 32: /dev/gpone */
--- 196,202 ----
cdev_notdef(), /* 26: bwone */
cdev_fb_init(NBWTWO,bw2), /* 27: bwtwo */
cdev_notdef(), /* 28: Systech VPC-2200 versatec/centronics */
! 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,394 ****
{ zscnprobe_a, zscninit, zscngetc, zscnputc, zscnpollc },
{ zscnprobe_b, zscninit, zscngetc, zscnputc, zscnpollc },
#endif
! #if NKD > 1
cons_init(kd),
#endif
{ 0 }, /* REQIURED! */
--- 388,394 ----
{ zscnprobe_a, zscninit, zscngetc, zscnputc, zscnpollc },
{ zscnprobe_b, zscninit, zscngetc, zscnputc, zscnpollc },
#endif
! #if NKD > 0
cons_init(kd),
#endif
{ 0 }, /* REQIURED! */