summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
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/arch/hp300
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/arch/hp300')
-rw-r--r--sys/arch/hp300/dev/diofb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/diofb.c b/sys/arch/hp300/dev/diofb.c
index 56057bcdaa8..2716ff48d48 100644
--- a/sys/arch/hp300/dev/diofb.c
+++ b/sys/arch/hp300/dev/diofb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diofb.c,v 1.14 2006/08/11 18:33:13 miod Exp $ */
+/* $OpenBSD: diofb.c,v 1.15 2006/11/29 12:13:54 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -320,6 +320,7 @@ diofb_end_attach(void *sc, struct wsdisplay_accessops *accessops,
waa.scrdata = &fb->wsl;
waa.accessops = accessops;
waa.accesscookie = fb;
+ waa.defaultscreens = 0;
config_found((struct device *)sc, &waa, wsemuldisplaydevprint);
}