Subject: port-next68k/6707: wscons cdev entries for next68k
To: None <gnats-bugs@gnats.netbsd.org>
From: None <deberg@MIT.EDU>
List: netbsd-bugs
Date: 01/02/1999 01:35:09
>Number: 6707
>Category: port-next68k
>Synopsis: next68k/conf.c needs wscons cdev entries
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-next68k-maintainer (NetBSD/next68k Portmaster)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jan 1 22:50:00 1999
>Last-Modified:
>Originator: matt debergalis
>Organization:
matt debergalis <deberg@mit.edu> KB1CTH
finger deberg@ai.mit.edu for PGP key
>Release: -current 19990101
>Environment:
System: NetBSD pizzabox.deberg.org 1.3I NetBSD 1.3I (WSCONS) #38: Sat Jan 2 00:10:13 EST 1999 deberg@sunrise.ne.mediaone.net:/src/netbsd/src/sys/arch/next68k/compile/WSCONS next68k
>Description:
>How-To-Repeat:
>Fix:
Index: conf.c
===================================================================
RCS file: /src/cvsroot-netbsd/netbsd/src/sys/arch/next68k/next68k/conf.c,v
retrieving revision 1.1.1.3
diff -u -c -r1.1.1.3 conf.c
cvs diff: conflicting specifications of output style
*** conf.c 1998/11/15 01:00:39 1.1.1.3
--- conf.c 1999/01/02 06:29:34
***************
*** 136,141 ****
--- 136,148 ----
cdev_decl(zsc);
cdev_decl(scsibus);
+ #include "wsdisplay.h"
+ cdev_decl(wsdisplay);
+ #include "wskbd.h"
+ cdev_decl(wskbd);
+ #include "wsmouse.h"
+ cdev_decl(wsmouse);
+
dev_decl(filedesc,open);
struct cdevsw cdevsw[] =
***************
*** 181,186 ****
--- 188,198 ----
cdev_rnd_init(NRND, rnd), /* 38: random source pseudo-device */
cdev_scsibus_init(NSCSIBUS,scsibus), /* 39: SCSI bus */
cdev_disk_init(NRAID,raid), /* 40: RAIDframe disk driver */
+ cdev_wsdisplay_init(NWSDISPLAY,
+ wsdisplay), /* 41: frame buffers, etc. */
+ cdev_mouse_init(NWSKBD, wskbd), /* 42: keyboards */
+ cdev_mouse_init(NWSMOUSE,
+ wsmouse), /* 43: mice */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
>Audit-Trail:
>Unformatted: