mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-28 14:40:42 +02:00
xfree86: os-support: move CONSOLE_X_TV_ON/OFF to i386_video.c
These are only used in i386_video.c, so move them there.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1420>
(cherry picked from commit 4d677fab46)
This commit is contained in:
parent
838d675fd8
commit
b2078acc33
2 changed files with 8 additions and 6 deletions
|
|
@ -42,6 +42,14 @@
|
|||
#define MAP_FLAGS (MAP_FILE | MAP_SHARED)
|
||||
#endif
|
||||
|
||||
#ifndef CONSOLE_X_TV_ON
|
||||
#define CONSOLE_X_TV_ON _IOW('t',155,int)
|
||||
#endif
|
||||
|
||||
#ifndef CONSOLE_X_TV_OFF
|
||||
#define CONSOLE_X_TV_OFF _IO('t',156)
|
||||
#endif
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
#define SYSCTL_MSG "\tCheck that you have set 'machdep.allowaperture=1'\n"\
|
||||
"\tin /etc/sysctl.conf and reboot your machine\n" \
|
||||
|
|
|
|||
|
|
@ -206,12 +206,6 @@ struct pcvtid {
|
|||
#ifndef CONSOLE_X_BELL
|
||||
#define CONSOLE_X_BELL _IOW('t',123,int[2])
|
||||
#endif
|
||||
#ifndef CONSOLE_X_TV_ON
|
||||
#define CONSOLE_X_TV_ON _IOW('t',155,int)
|
||||
#endif
|
||||
#ifndef CONSOLE_X_TV_OFF
|
||||
#define CONSOLE_X_TV_OFF _IO('t',156)
|
||||
#endif
|
||||
|
||||
#if defined(USE_I386_IOPL) || defined(USE_AMD64_IOPL)
|
||||
#include <machine/sysarch.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue