diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-11-27 19:31:47 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-11-27 19:31:47 +0000 |
commit | 3ae6368ff3ac2e2ee5e436bfe8b87bbbc3b4ca2a (patch) | |
tree | 7244ae99912c1bc09f74852fa7c02987e0abeee9 /sys/dev/pcmcia/cfxgareg.h | |
parent | 0a181cfe9f01881989db14fff0f96c2c8608c66b (diff) |
Support for different video modes (by playing with wsconfcfg).
8 bit modes are disabled until I find why the LUT writes are ignored,
and Zaurus-like 640x480x16 is still the default.
Diffstat (limited to 'sys/dev/pcmcia/cfxgareg.h')
-rw-r--r-- | sys/dev/pcmcia/cfxgareg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/cfxgareg.h b/sys/dev/pcmcia/cfxgareg.h index 433dbf45949..d25cfe53625 100644 --- a/sys/dev/pcmcia/cfxgareg.h +++ b/sys/dev/pcmcia/cfxgareg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cfxgareg.h,v 1.3 2006/11/26 18:51:10 miod Exp $ */ +/* $OpenBSD: cfxgareg.h,v 1.4 2006/11/27 19:31:46 miod Exp $ */ /* * Copyright (c) 2005, 2006, Matthieu Herrb and Miodrag Vallat @@ -186,6 +186,7 @@ #define PIXEL_PANNING_MASK_4BPP 0x03 #define PIXEL_PANNING_MASK_8BPP 0x01 #define PIXEL_PANNING_MASK_15BPP 0x00 +#define PIXEL_PANNING_MASK_16BPP 0x00 /* LCD display FIFO high threshold control register - RW */ #define CFREG_LCD_FIFO_THRESHOLD_HIGH 0x004a @@ -381,6 +382,7 @@ /* Power save configuration register - RW */ #define CFREG_POWER_CONF 0x1f0 #define POWERSAVE_ENABLE 0x01 +#define POWERSAVE_MBO 0x10 /* Power save status register - RW */ #define CFREG_POWER_STATUS 0x1f1 |