diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2002-04-26 20:04:51 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2002-04-26 20:04:51 +0000 |
commit | 7c310a381e349f7bac8537fbad40e216e8b24cd4 (patch) | |
tree | 5f0f698a233c23638952f8008dabd8967f523374 /sys/dev/pci/tgavar.h | |
parent | b285d997e02a5573da4f0741c68b47b8191073c0 (diff) |
Add support for the WSDISPLAYIO_LINEBYTES ioctl and the
WSDISPLAYIO_MODE_DUMBFB mode (mode where mmapping /dev/ttyC0 maps
the framebuffer only)
This makes the XF4 wsfb driver work on the TGA cards.
Ok miod@, deraadt@
Diffstat (limited to 'sys/dev/pci/tgavar.h')
-rw-r--r-- | sys/dev/pci/tgavar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/tgavar.h b/sys/dev/pci/tgavar.h index 3f3bfb75076..93f071ed724 100644 --- a/sys/dev/pci/tgavar.h +++ b/sys/dev/pci/tgavar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tgavar.h,v 1.6 2002/04/01 11:26:32 matthieu Exp $ */ +/* $OpenBSD: tgavar.h,v 1.7 2002/04/26 20:04:50 matthieu Exp $ */ /* $NetBSD: tgavar.h,v 1.8 2000/04/02 19:01:11 nathanw Exp $ */ /* @@ -99,6 +99,7 @@ struct tga_softc { struct tga_devconfig *sc_dc; /* device configuration */ void *sc_intr; /* interrupt handler info */ + u_int sc_mode; /* wscons mode used */ /* XXX should record intr fns/arg */ int nscreens; |