From owner-svn-src-all@FreeBSD.ORG Sat Sep 12 00:18:52 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 759B8106566C; Sat, 12 Sep 2009 00:18:52 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 1D23D8FC19; Sat, 12 Sep 2009 00:18:52 +0000 (UTC) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 62D2C5C06F; Sat, 12 Sep 2009 08:18:51 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 1AAD555CDF7D; Sat, 12 Sep 2009 08:18:51 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id FTLjqKvQwP5v; Sat, 12 Sep 2009 08:18:45 +0800 (CST) Received: from charlie.delphij.net (adsl-76-237-33-62.dsl.pltn13.sbcglobal.net [76.237.33.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id D630655CDF7B; Sat, 12 Sep 2009 08:18:43 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=vX4hJY1Z4uL2URTVnW8wEiaqgemZrnj7QCVtyTPZnSbolF6W9aue56yP29qclZFTw kfLyRuu1xEd4mtFn1jBYQ== Message-ID: <4AAAE8E1.10705@delphij.net> Date: Fri, 11 Sep 2009 17:18:41 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.22 (X11/20090803) MIME-Version: 1.0 To: John Baldwin References: <200909110207.n8B27PjH037758@svn.freebsd.org> <200909111055.14845.jhb@freebsd.org> In-Reply-To: <200909111055.14845.jhb@freebsd.org> X-Enigmail-Version: 0.96.0 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Xin LI Subject: Re: svn commit: r197085 - in head: share/man/man4 sys/dev/syscons X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 00:18:52 -0000 -----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 , 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 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-----