svn commit: r197085 - in head: share/man/man4 sys/dev/syscons
Xin LI
delphij at delphij.net
Sat Sep 12 00:18:52 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Baldwin wrote:
> On Thursday 10 September 2009 10:07:25 pm Xin LI wrote:
>> Author: delphij
>> Date: Fri Sep 11 02:07:24 2009
>> New Revision: 197085
>> URL: http://svn.freebsd.org/changeset/base/197085
>>
>> Log:
>> 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.
>
> Ugh, I don't like overloading flags this much. The historical usage of flags
> was due to userconfig only letting one set a single flags property for a
> given device. Since moving to hints we now support free-form text
> properties. I would much prefer this be implemented by
> setting 'hint.sc.0.vesa_mode=XXX' instead.
Oh I thought that hints does not work that way in the past. I have make
change to make syscons work in this way, thanks for your suggestion!
Cheers,
- --
Xin LI <delphij at delphij.net> http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)
iEYEARECAAYFAkqq6OEACgkQi+vbBBjt66DB6gCeMpzzOMoN3DHmTD5qdxtVtLRf
vTYAoIH7HzAWYTb7HN9NwZlk5AQ5kg1L
=JxLv
-----END PGP SIGNATURE-----
More information about the svn-src-head
mailing list