HomeFreeBSD

vidcontrol: disable p, P, and H when vt(4) is in use

Description

vidcontrol: disable p, P, and H when vt(4) is in use

These options use the CONS_SCRSHOT ioctl to capture the contents of the
current console, which is not yet supported by vt(4). Disable the
options when vt(4) is in use rather than emitting a possibly confusing
error message.

This change should be reverted if CONS_SCRSHOT is implemented for vt(4).

PR: 263099
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

(cherry picked from commit c71ae91f1976746b380a8aada8676d7ae084fdc5)
(cherry picked from commit 1f4442f71fa33a8ef6d3da808e32872fb23a5700)

Details

Provenance
emasteAuthored on Apr 6 2022, 11:39 PM
Parents
rG014485c72f9f: cpufreq.4: Use Xr for drivers with manuals
Branches
Unknown
Tags
Unknown