From fb2255fc8756c12ec3557ef061587f1ffdb3fcc5 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 29 Nov 2006 12:13:56 +0000 Subject: 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. --- sys/arch/sparc/dev/fb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/sparc/dev') diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c index cbf911e435c..36bac1da16c 100644 --- a/sys/arch/sparc/dev/fb.c +++ b/sys/arch/sparc/dev/fb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fb.c,v 1.39 2006/07/01 16:15:58 miod Exp $ */ +/* $OpenBSD: fb.c,v 1.40 2006/11/29 12:13:54 miod Exp $ */ /* $NetBSD: fb.c,v 1.23 1997/07/07 23:30:22 pk Exp $ */ /* @@ -491,6 +491,7 @@ fbwscons_attach(struct sunfb *sf, struct wsdisplay_accessops *op, int isconsole) waa.scrdata = &sf->sf_wsl; waa.accessops = op; waa.accesscookie = sf; + waa.defaultscreens = 0; config_found(&sf->sf_dev, &waa, wsemuldisplaydevprint); } -- cgit v1.2.3