git: cc723136640a - stable/13 - fb: Remove unused FBIOSVIDEO/FBIOGVIDEO ioctls
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Dec 2021 09:21:44 UTC
The branch stable/13 has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=cc723136640aba617a40058294a405caff2a518b
commit cc723136640aba617a40058294a405caff2a518b
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-12-01 10:51:17 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-12-21 09:18:50 +0000
fb: Remove unused FBIOSVIDEO/FBIOGVIDEO ioctls
The FBIOSVIDEO/FBIOGVIDEO ioctls were added in 1994 with the 4.4 Lite import
but were never implemented in either sc(4), fb(4) or vt(4).
Remove it.
Reviewed by: emaste, tsoome
MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D33216
(cherry picked from commit 26542b33a4d5e06a26bd9ea523c1087d75c0c41a)
---
sys/dev/fb/fb.c | 2 --
sys/dev/syscons/scvidctl.c | 2 --
sys/sys/fbio.h | 9 ---------
3 files changed, 13 deletions(-)
diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c
index 85a129cfe0ae..f6e7f0837210 100644
--- a/sys/dev/fb/fb.c
+++ b/sys/dev/fb/fb.c
@@ -738,8 +738,6 @@ fb_commonioctl(video_adapter_t *adp, u_long cmd, caddr_t arg)
case FBIO_SETLINEWIDTH: /* set scan line width in pixel */
case FBIOGTYPE:
- case FBIOSVIDEO:
- case FBIOGVIDEO:
case FBIOVERTICAL:
case FBIOSCURSOR:
case FBIOGCURSOR:
diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c
index 93b9e84b67df..c5881545f435 100644
--- a/sys/dev/syscons/scvidctl.c
+++ b/sys/dev/syscons/scvidctl.c
@@ -614,8 +614,6 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td)
case FBIOPUTCMAP:
case FBIOGETCMAP:
case FBIOGTYPE:
- case FBIOSVIDEO:
- case FBIOGVIDEO:
case FBIOSCURSOR:
case FBIOGCURSOR:
case FBIOSCURPOS:
diff --git a/sys/sys/fbio.h b/sys/sys/fbio.h
index d453b546b5b3..a5cec08638e9 100644
--- a/sys/sys/fbio.h
+++ b/sys/sys/fbio.h
@@ -184,15 +184,6 @@ struct fbcmap {
#define FBIOPUTCMAP _IOW('F', 3, struct fbcmap)
#define FBIOGETCMAP _IOW('F', 4, struct fbcmap)
-/*
- * Video control.
- */
-#define FBVIDEO_OFF 0
-#define FBVIDEO_ON 1
-
-#define FBIOSVIDEO _IOW('F', 7, int)
-#define FBIOGVIDEO _IOR('F', 8, int)
-
/* vertical retrace */
#define FBIOVERTICAL _IO('F', 9)