Date: Thu, 30 Apr 2020 14:35:41 +0200 From: David Marec <david.marec@davenulle.org> To: freebsd-stable <freebsd-stable@freebsd.org> Subject: vt(4) driver configuration mismatch ? Message-ID: <eec1a73d-3e50-c8d0-951f-151817127fae@davenulle.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eec1a73d-3e50-c8d0-951f-151817127fae>