diff options
author | delphij <delphij@FreeBSD.org> | 2009-09-11 02:07:24 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-09-11 02:07:24 +0000 |
commit | 115c0d027c275a438e6a64297b2380f71c326821 (patch) | |
tree | 3a59f57d6ab18584579943a2d00b9806f359f71d /sys/dev/syscons/syscons.h | |
parent | f7f200d12d205da289929f0b9118c36acb30e16b (diff) | |
download | FreeBSD-src-115c0d027c275a438e6a64297b2380f71c326821.zip FreeBSD-src-115c0d027c275a438e6a64297b2380f71c326821.tar.gz |
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.
Diffstat (limited to 'sys/dev/syscons/syscons.h')
-rw-r--r-- | sys/dev/syscons/syscons.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h index c0ed6c1..202769f 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) |