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/vax/vsa | |
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/vax/vsa')
-rw-r--r-- | sys/arch/vax/vsa/gpx.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vsa/lcg.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vsa/lcspx.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vsa/smg.c | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/vax/vsa/gpx.c b/sys/arch/vax/vsa/gpx.c index 366c013d133..7e8bc47b617 100644 --- a/sys/arch/vax/vsa/gpx.c +++ b/sys/arch/vax/vsa/gpx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gpx.c,v 1.14 2006/11/05 14:41:18 miod Exp $ */ +/* $OpenBSD: gpx.c,v 1.15 2006/11/29 12:13:54 miod Exp $ */ /* * Copyright (c) 2006 Miodrag Vallat. * @@ -357,6 +357,7 @@ gpx_attach(struct device *parent, struct device *self, void *aux) aa.scrdata = &gpx_screenlist; aa.accessops = &gpx_accessops; aa.accesscookie = sc; + aa.defaultscreens = 0; config_found(self, &aa, wsemuldisplaydevprint); diff --git a/sys/arch/vax/vsa/lcg.c b/sys/arch/vax/vsa/lcg.c index 7629aa0a6c2..d06f34fb6d6 100644 --- a/sys/arch/vax/vsa/lcg.c +++ b/sys/arch/vax/vsa/lcg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lcg.c,v 1.9 2006/08/22 21:05:03 miod Exp $ */ +/* $OpenBSD: lcg.c,v 1.10 2006/11/29 12:13:54 miod Exp $ */ /* * Copyright (c) 2006 Miodrag Vallat. * @@ -295,6 +295,7 @@ lcg_attach(struct device *parent, struct device *self, void *aux) aa.scrdata = &lcg_screenlist; aa.accessops = &lcg_accessops; aa.accesscookie = sc; + aa.defaultscreens = 0; config_found(self, &aa, wsemuldisplaydevprint); return; diff --git a/sys/arch/vax/vsa/lcspx.c b/sys/arch/vax/vsa/lcspx.c index bcf7c62dea2..df4d91c8a03 100644 --- a/sys/arch/vax/vsa/lcspx.c +++ b/sys/arch/vax/vsa/lcspx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lcspx.c,v 1.10 2006/08/27 16:55:41 miod Exp $ */ +/* $OpenBSD: lcspx.c,v 1.11 2006/11/29 12:13:54 miod Exp $ */ /* * Copyright (c) 2006 Miodrag Vallat. * @@ -275,6 +275,7 @@ lcspx_attach(struct device *parent, struct device *self, void *aux) aa.scrdata = &lcspx_screenlist; aa.accessops = &lcspx_accessops; aa.accesscookie = sc; + aa.defaultscreens = 0; config_found(self, &aa, wsemuldisplaydevprint); return; diff --git a/sys/arch/vax/vsa/smg.c b/sys/arch/vax/vsa/smg.c index d545a609529..2c7a288b627 100644 --- a/sys/arch/vax/vsa/smg.c +++ b/sys/arch/vax/vsa/smg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smg.c,v 1.17 2006/08/05 16:57:42 miod Exp $ */ +/* $OpenBSD: smg.c,v 1.18 2006/11/29 12:13:54 miod Exp $ */ /* $NetBSD: smg.c,v 1.21 2000/03/23 06:46:44 thorpej Exp $ */ /* * Copyright (c) 2006, Miodrag Vallat @@ -326,6 +326,7 @@ smg_attach(struct device *parent, struct device *self, void *aux) aa.scrdata = &smg_screenlist; aa.accessops = &smg_accessops; aa.accesscookie = sc; + aa.defaultscreens = 0; config_found(self, &aa, wsemuldisplaydevprint); } |