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/dev/pci | |
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/dev/pci')
-rw-r--r-- | sys/dev/pci/tga.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/tga.c b/sys/dev/pci/tga.c index 01bc6c89d44..80d6ed8b7c5 100644 --- a/sys/dev/pci/tga.c +++ b/sys/dev/pci/tga.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tga.c,v 1.26 2006/02/16 23:05:46 miod Exp $ */ +/* $OpenBSD: tga.c,v 1.27 2006/11/29 12:13:55 miod Exp $ */ /* $NetBSD: tga.c,v 1.40 2002/03/13 15:05:18 ad Exp $ */ /* @@ -540,6 +540,7 @@ tgaattach(parent, self, aux) aa.scrdata = &tga_screenlist; aa.accessops = &tga_accessops; aa.accesscookie = sc; + aa.defaultscreens = 0; config_found(self, &aa, wsemuldisplaydevprint); |