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/luna88k/dev/lunafb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/luna88k/dev/lunafb.c') diff --git a/sys/arch/luna88k/dev/lunafb.c b/sys/arch/luna88k/dev/lunafb.c index a2b28962a0d..3d73d2b540a 100644 --- a/sys/arch/luna88k/dev/lunafb.c +++ b/sys/arch/luna88k/dev/lunafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lunafb.c,v 1.7 2006/08/06 13:04:33 miod Exp $ */ +/* $OpenBSD: lunafb.c,v 1.8 2006/11/29 12:13:54 miod Exp $ */ /* $NetBSD: lunafb.c,v 1.7.6.1 2002/08/07 01:48:34 lukem Exp $ */ /*- @@ -216,6 +216,7 @@ omfbattach(parent, self, args) waa.scrdata = &omfb_screenlist; waa.accessops = &omfb_accessops; waa.accesscookie = sc; + waa.defaultscreens = 0; config_found(self, &waa, wsemuldisplaydevprint); } -- cgit v1.2.3