From owner-freebsd-stable@freebsd.org Thu Apr 30 12:35:46 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 05ACB2BB09D for ; Thu, 30 Apr 2020 12:35:46 +0000 (UTC) (envelope-from david.marec@davenulle.org) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49CZc06Nmwz4gMs for ; Thu, 30 Apr 2020 12:35:44 +0000 (UTC) (envelope-from david.marec@davenulle.org) Received: from llanura.davidmarec.ddns.net (lfbn-tou-1-196-116.w86-201.abo.wanadoo.fr [86.201.44.116]) (Authenticated sender: david@dmarec.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 408D1200003 for ; Thu, 30 Apr 2020 12:35:42 +0000 (UTC) To: freebsd-stable From: David Marec Subject: vt(4) driver configuration mismatch ? Message-ID: Date: Thu, 30 Apr 2020 14:35:41 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49CZc06Nmwz4gMs X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of david.marec@davenulle.org has no SPF policy when checking 217.70.178.232) smtp.mailfrom=david.marec@davenulle.org X-Spamd-Result: default: False [-1.24 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-1.09)[ip: (-2.61), ipnet: 217.70.176.0/20(-1.58), asn: 29169(-1.27), country: FR(-0.00)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[davenulle.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.963,0]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[232.178.70.217.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[116.44.201.86.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2020 12:35:46 -0000 The vt (4) man page brings out some inconsistency in its configuration. "sys/dev/vt/vt.h" header file requires the definition of a prepocessor macro called "VT_FB_MAX_WIDTH" while a kernel option defines "VT_FB_DEFAULT_WIDTH" which will be be setup in the file "opt_syscons.h". This last file will be included into `vt` headers. As a result, if one defines 'VT_FB_DEFAULT_WIDTH' as an option in its own kernel configuration file, it will not be actually used by the driver as this one looks up for the "VT_FB_MAX_WIDTH" preprocessor macro. And the man page mentions ... both. Regards, -- David Marec https://diablotins.lapinbilly.eu/doku.php?id=start