Reserve a character device slot for wsdisplay.
This commit is contained in:
parent
7c282714fa
commit
8a407bd3c3
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: conf.c,v 1.51 1999/07/29 19:14:37 augustss Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.52 1999/11/01 05:29:21 scottr Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
|
@ -113,6 +113,7 @@ int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
|
|||
#include "tun.h"
|
||||
#include "uk.h"
|
||||
#if 0
|
||||
#include "wsdisplay.h"
|
||||
#include "wskbd.h"
|
||||
#include "wsmouse.h"
|
||||
#include "wsmux.h"
|
||||
|
@ -158,6 +159,7 @@ cdev_decl(vnd);
|
|||
cdev_decl(wskbd);
|
||||
cdev_decl(wsmouse);
|
||||
cdev_decl(wsmux);
|
||||
cdev_decl(wsdisplay);
|
||||
#endif
|
||||
cdev_decl(zs);
|
||||
cdev_decl(zsc);
|
||||
|
@ -219,9 +221,11 @@ struct cdevsw cdevsw[] =
|
|||
cdev_disk_init(NFD,fd), /* 43: Sony floppy disk */
|
||||
cdev_svr4_net_init(NSVR4_NET,svr4_net), /* 44: svr4 net pseudo-device */
|
||||
#if 0
|
||||
cdev_mouse_init(NWSMUX, wsmux), /* 44: ws multiplexor */
|
||||
cdev_mouse_init(NWSMUX, wsmux), /* 45: ws multiplexor */
|
||||
cdev_wsdisplay_init(NWSDISPLAY,wsdisplay), /* 46: frame buffers, etc. */
|
||||
#else
|
||||
cdev_notdef(), /* 44 */
|
||||
cdev_notdef(), /* 45 */
|
||||
cdev_notdef(), /* 46 */
|
||||
#endif
|
||||
};
|
||||
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
|
||||
|
|
Loading…
Reference in New Issue