aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons/syscons.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-09-11 02:07:24 +0000
committerXin LI <delphij@FreeBSD.org>2009-09-11 02:07:24 +0000
commit493d6f54bc85aee304350c1a063994471d7c2d2c (patch)
tree3a59f57d6ab18584579943a2d00b9806f359f71d /sys/dev/syscons/syscons.h
parentac54649762aa1d6d323d1c4fd140d5a7e1668305 (diff)
downloadsrc-493d6f54bc85aee304350c1a063994471d7c2d2c.tar.gz
src-493d6f54bc85aee304350c1a063994471d7c2d2c.zip
Extend the usage of sc(4)'s hint variable 'flag'. Bit 0x80 now means
"set vesa mode" and higher 16bits of the flag would be the desired mode. One can now set, for instance, hint.sc.0.flags=0x01680180, which means that the system should set VESA mode 0x168 upon boot. Submitted by: paradox <ddkprog yahoo com>, swell k at gmail.com with some minor changes.
Notes
Notes: svn path=/head/; revision=197085
Diffstat (limited to 'sys/dev/syscons/syscons.h')
-rw-r--r--sys/dev/syscons/syscons.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h
index c0ed6c1fd642..202769f120c0 100644
--- a/sys/dev/syscons/syscons.h
+++ b/sys/dev/syscons/syscons.h
@@ -191,7 +191,7 @@ struct tty;
typedef struct sc_softc {
int unit; /* unit # */
int config; /* configuration flags */
-#define SC_VESA800X600 (1 << 7)
+#define SC_VESAMODE (1 << 7)
#define SC_AUTODETECT_KBD (1 << 8)
#define SC_KERNEL_CONSOLE (1 << 9)