defopt the WSEMUL options.
This commit is contained in:
parent
6af8040a5c
commit
085787ddbe
@ -1,4 +1,4 @@
|
||||
# $NetBSD: files.wscons,v 1.3 1998/04/15 20:29:16 drochner Exp $
|
||||
# $NetBSD: files.wscons,v 1.4 1998/04/17 00:17:27 thorpej Exp $
|
||||
|
||||
#
|
||||
# "Workstation Console" glue; attaches frame buffer to emulator & keyboard,
|
||||
@ -12,6 +12,8 @@
|
||||
# trouble.
|
||||
#
|
||||
|
||||
defopt opt_wsemul.h WSEMUL_DEFAULT WSEMUL_NO_DUMB WSEMUL_SUN
|
||||
|
||||
# this loses, but there's no way to define attributes which have attributes
|
||||
device wsdisplay #tty?
|
||||
attach wsdisplay at wsemuldisplaydev with wsdisplay_emul
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wsemulconf.c,v 1.1 1998/03/22 14:24:03 drochner Exp $ */
|
||||
/* $NetBSD: wsemulconf.c,v 1.2 1998/04/17 00:17:27 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
|
||||
@ -33,13 +33,13 @@
|
||||
static const char _copyright[] __attribute__ ((unused)) =
|
||||
"Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.";
|
||||
static const char _rcsid[] __attribute__ ((unused)) =
|
||||
"$NetBSD: wsemulconf.c,v 1.1 1998/03/22 14:24:03 drochner Exp $";
|
||||
"$NetBSD: wsemulconf.c,v 1.2 1998/04/17 00:17:27 thorpej Exp $";
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
||||
#include <dev/wscons/wsdisplayvar.h>
|
||||
#include <dev/wscons/wsemulvar.h>
|
||||
#include <dev/wscons/wsemulvar.h> /* pulls in opt_wsemul.h */
|
||||
#include <dev/wscons/wscons_callbacks.h>
|
||||
|
||||
static const struct wsemul_ops *wsemul_conf[] = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wsemulvar.h,v 1.1 1998/03/22 14:24:03 drochner Exp $ */
|
||||
/* $NetBSD: wsemulvar.h,v 1.2 1998/04/17 00:17:27 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
|
||||
@ -43,6 +43,10 @@ struct wsemul_ops {
|
||||
void (*detach) __P((void *cookie, u_int *crow, u_int *ccol));
|
||||
};
|
||||
|
||||
#if defined(_KERNEL) && !defined(_LKM)
|
||||
#include "opt_wsemul.h"
|
||||
#endif
|
||||
|
||||
#ifndef WSEMUL_NO_DUMB
|
||||
extern const struct wsemul_ops wsemul_dumb_ops;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user