Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2021 09:21:45 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 906e705e084a - stable/13 - fb: Remove unused FBIOVERTICAL ioctl
Message-ID:  <202112210921.1BL9Ljw0092627@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=906e705e084a21a86854c7e64c736e0f6eb723c0

commit 906e705e084a21a86854c7e64c736e0f6eb723c0
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-12-01 10:53:03 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-12-21 09:18:52 +0000

    fb: Remove unused FBIOVERTICAL ioctl
    
    Commit 6d1699583d7e added the FBIOVERTICAL ioctl and said that implementation
    in driver will come later.
    Since it was in 2001 I think we can remove this.
    
    MFC after:      2 weeks
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    
    (cherry picked from commit 87fae70dc58a16dfcdad75f929485c79d557bdd5)
---
 sys/dev/fb/fb.c | 1 -
 sys/sys/fbio.h  | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c
index f6e7f0837210..8226c3317c6b 100644
--- a/sys/dev/fb/fb.c
+++ b/sys/dev/fb/fb.c
@@ -738,7 +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 FBIOVERTICAL:
 	case FBIOSCURSOR:
 	case FBIOGCURSOR:
 	case FBIOSCURPOS:
diff --git a/sys/sys/fbio.h b/sys/sys/fbio.h
index a5cec08638e9..e6e9ede78e30 100644
--- a/sys/sys/fbio.h
+++ b/sys/sys/fbio.h
@@ -184,9 +184,6 @@ struct fbcmap {
 #define	FBIOPUTCMAP	_IOW('F', 3, struct fbcmap)
 #define	FBIOGETCMAP	_IOW('F', 4, struct fbcmap)
 
-/* vertical retrace */
-#define	FBIOVERTICAL	_IO('F', 9)
-
 /*
  * Hardware cursor control (for, e.g., CG6).  A rather complex and icky
  * interface that smells like VMS, but there it is....



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112210921.1BL9Ljw0092627>