From nobody Tue Dec 21 09:21:44 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2377218F3433; Tue, 21 Dec 2021 09:21:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JJ9vD5TVKz4Rp8; Tue, 21 Dec 2021 09:21:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7F112271ED; Tue, 21 Dec 2021 09:21:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BL9Li91092597; Tue, 21 Dec 2021 09:21:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BL9LiC0092596; Tue, 21 Dec 2021 09:21:44 GMT (envelope-from git) Date: Tue, 21 Dec 2021 09:21:44 GMT Message-Id: <202112210921.1BL9LiC0092596@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: cc723136640a - stable/13 - fb: Remove unused FBIOSVIDEO/FBIOGVIDEO ioctls List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: cc723136640aba617a40058294a405caff2a518b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640078504; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a9UHq7C4QdsfEWkg3tUi8X2gm5+8+UOYTdEt9ZVAies=; b=Z5l0cNRuW30j3iadPYUoCof1AXIoh3Exy5shFUwXjGYaayV1s0RJ0gzWTdInftYcRIoY6P jgteHdCh26PCX1D5B1JQWZN5UcVT2UZdoHbivWmYGbCUWVCT+ItRE0x0obpc8MbjBp0sLJ 5WWLDAwVHvojdwjyg6qwvJL9/gVXgCy/4ku7yKeCTgoRCvz0oXXxtL09zUIOyTBlAwaCzv oV1mLq6N2Z7ogs0hwIoLT01mvnF32EBWLdK7RjiX0tSfpKUBb+Q1WOWCEq3v5kuhaacJaE e9YbqgT9OeaSsJ/LOgBMu2bd9u0/o+Ut4w4oDrqtkL/O/rdRCKmNk5mqGI/E0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640078504; a=rsa-sha256; cv=none; b=WzEeSMgxgcIcUbMNc6VoJ4iDcUBh1d6L7yXMv0Kk1PGaucnXY13ON6YGynCdU9pODYHEcU qdxhYai7Xzw+vECB8LPbLaZhu/q91NHefk/uDXhlZSZo0nGv1ZHmMlB+sxS/OWPp+viBBQ FNQInED2doBjbhN1PTu3VYGxIzW8uKXTPugeAYMMcsBdQOSwhB5JQEAyQHrk2ujiquX04R Qx8eGiYipXLiDhfVnpl+tnjAiPuth3Uw0rztQ4p+KJcyYP/8jB6oCTKlZZxD1pWepFYMCc x3lkRgBWyBRNbkCRwUpNO4Hj85Lb7/z5sxURp97ozjEcQsOE8CuCTO9d6Pijeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=cc723136640aba617a40058294a405caff2a518b commit cc723136640aba617a40058294a405caff2a518b Author: Emmanuel Vadot AuthorDate: 2021-12-01 10:51:17 +0000 Commit: Emmanuel Vadot 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)