Date: Fri, 11 Sep 2009 17:18:41 -0700 From: Xin LI <delphij@delphij.net> To: John Baldwin <jhb@FreeBSD.ORG> Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Xin LI <delphij@FreeBSD.ORG> Subject: Re: svn commit: r197085 - in head: share/man/man4 sys/dev/syscons Message-ID: <4AAAE8E1.10705@delphij.net> In-Reply-To: <200909111055.14845.jhb@freebsd.org> References: <200909110207.n8B27PjH037758@svn.freebsd.org> <200909111055.14845.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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@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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AAAE8E1.10705>