Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 10:55:14 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Xin LI <delphij@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r197085 - in head: share/man/man4 sys/dev/syscons
Message-ID:  <200909111055.14845.jhb@freebsd.org>
In-Reply-To: <200909110207.n8B27PjH037758@svn.freebsd.org>
References:  <200909110207.n8B27PjH037758@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909111055.14845.jhb>