diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-11-29 12:13:56 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-11-29 12:13:56 +0000 |
commit | fb2255fc8756c12ec3557ef061587f1ffdb3fcc5 (patch) | |
tree | 2979602a939896459f2502111118521c6012ac2d /sys/arch/sparc | |
parent | afe56911378491afdcb3a537d27aa1860371ba7b (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/sparc')
-rw-r--r-- | sys/arch/sparc/dev/fb.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |