summaryrefslogtreecommitdiff
path: root/sys/dev/isa/ega.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-11-29 12:13:56 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-11-29 12:13:56 +0000
commitfb2255fc8756c12ec3557ef061587f1ffdb3fcc5 (patch)
tree2979602a939896459f2502111118521c6012ac2d /sys/dev/isa/ega.c
parentafe56911378491afdcb3a537d27aa1860371ba7b (diff)
Add a new member to struct wsemuldisplaydev_attach_args, for a frame buffer
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
Diffstat (limited to 'sys/dev/isa/ega.c')
-rw-r--r--sys/dev/isa/ega.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isa/ega.c b/sys/dev/isa/ega.c
index f0c4bb7448b..4be901605cb 100644
--- a/sys/dev/isa/ega.c
+++ b/sys/dev/isa/ega.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ega.c,v 1.8 2006/09/29 19:46:04 miod Exp $ */
+/* $OpenBSD: ega.c,v 1.9 2006/11/29 12:13:54 miod Exp $ */
/* $NetBSD: ega.c,v 1.4.4.1 2000/06/30 16:27:47 simonb Exp $ */
/*
@@ -520,6 +520,7 @@ ega_attach(parent, self, aux)
aa.scrdata = &ega_screenlist;
aa.accessops = &ega_accessops;
aa.accesscookie = dc;
+ aa.defaultscreens = 0;
config_found(self, &aa, wsemuldisplaydevprint);
}