summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/tc
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/alpha/tc
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/alpha/tc')
-rw-r--r--sys/arch/alpha/tc/cfb.c3
-rw-r--r--sys/arch/alpha/tc/sfb.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/alpha/tc/cfb.c b/sys/arch/alpha/tc/cfb.c
index 498a8582feb..fd9f4eb7280 100644
--- a/sys/arch/alpha/tc/cfb.c
+++ b/sys/arch/alpha/tc/cfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cfb.c,v 1.17 2006/07/12 15:36:04 martin Exp $ */
+/* $OpenBSD: cfb.c,v 1.18 2006/11/29 12:13:51 miod Exp $ */
/* $NetBSD: cfb.c,v 1.7 1996/12/05 01:39:39 cgd Exp $ */
/*
@@ -227,6 +227,7 @@ cfbattach(parent, self, aux)
waa.scrdata = &cfb_screenlist;
waa.accessops = &cfb_accessops;
waa.accesscookie = sc;
+ waa.defaultscreens = 0;
config_found(self, &waa, wsemuldisplaydevprint);
}
diff --git a/sys/arch/alpha/tc/sfb.c b/sys/arch/alpha/tc/sfb.c
index 64dc2653fa3..cd4d937d40d 100644
--- a/sys/arch/alpha/tc/sfb.c
+++ b/sys/arch/alpha/tc/sfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sfb.c,v 1.17 2006/07/12 15:36:04 martin Exp $ */
+/* $OpenBSD: sfb.c,v 1.18 2006/11/29 12:13:51 miod Exp $ */
/* $NetBSD: sfb.c,v 1.7 1996/12/05 01:39:44 cgd Exp $ */
/*
@@ -272,6 +272,7 @@ sfbattach(parent, self, aux)
waa.scrdata = &sfb_screenlist;
waa.accessops = &sfb_accessops;
waa.accesscookie = sc;
+ waa.defaultscreens = 0;
config_found(self, &waa, wsemuldisplaydevprint);
}