vt(4) driver configuration mismatch ?

David Marec david.marec at davenulle.org
Thu Apr 30 12:35:46 UTC 2020


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


More information about the freebsd-stable mailing list