From nobody Mon Dec 06 10:29:45 2021 X-Original-To: dev-commits-src-main@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 EDB1318B457F; Mon, 6 Dec 2021 10:29:46 +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 4J706f33z6z4kYB; Mon, 6 Dec 2021 10:29:46 +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 6DD951F1C; Mon, 6 Dec 2021 10:29:45 +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 1B6ATjll087359; Mon, 6 Dec 2021 10:29:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6ATj3i087358; Mon, 6 Dec 2021 10:29:45 GMT (envelope-from git) Date: Mon, 6 Dec 2021 10:29:45 GMT Message-Id: <202112061029.1B6ATj3i087358@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 26542b33a4d5 - main - fb: Remove unused FBIOSVIDEO/FBIOGVIDEO ioctls List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 26542b33a4d5e06a26bd9ea523c1087d75c0c41a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638786586; 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=BYhgxa1tweAI0Q5NWfr+xOO2olTDNYV6CcN1YRGfFQ8=; b=XqE+t3RiSY/ZMYX0vz9Cu4A6tRGsWfyYsMJXv1Bs8hMPYiQIL2NVVpKWDK74K7FDPLK9YM WE0pgceHrQkXeSPg4e2VyJlfv/uAjiZZHBwP3un8kSOZvBah1V8iAdTO/Kw45h1Wksvta0 E35cmgxsHTPyFRq7g7XKROXf7SIFkCahevAw0umFSF2IymRX+sNam+C8M2nPrgtWFBCIgp T4cNW4Q1BIFg//FnBxIwH9HU4Soyt1NqInHupO1Dgfar03TXGiocpxpbqCvQOiLpUeu6rX bf+nQKK0tb+sO7m88dGwCyqZ8lHEbSwUCGn6nU2UDd5HRE0pPo9dj6stkfWjiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638786586; a=rsa-sha256; cv=none; b=upwFe56i0pRJp0wPJVm9HfzlD2bnLziu4eaZPr64AG7xJJgg8grXAc2h1vvFOKbnLpc1aX bHcLgXxsDBn/jkoDy8gQQI+7HJJvOWuH3OcresEH1QPFeGTWeOL7Kex50PWxM/r5OhFJ7a BJUQicDiVH8oiu63SPZ9Rt7Nl2ppQeqk/kqUOS7nn2hgVdhxWnxkETWPhYSw5XlD9pZF3g ThdZ0BMO7F6hKXAg2bXLtZsMQZltHzBlaPFMqXSZXOv0gG/tngUxEyrTZuXwCbdu6t1+AZ FqFGXwhd2xcwytJhxskb5sWkoMnvPCSJ45uEk+vzNBqGCeaVspL9+kYV9tC2Xw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=26542b33a4d5e06a26bd9ea523c1087d75c0c41a commit 26542b33a4d5e06a26bd9ea523c1087d75c0c41a Author: Emmanuel Vadot AuthorDate: 2021-12-01 10:51:17 +0000 Commit: Emmanuel Vadot CommitDate: 2021-12-06 10:27:53 +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 --- 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 bfd4dca79dce..63709e7c6bf1 100644 --- a/sys/sys/fbio.h +++ b/sys/sys/fbio.h @@ -195,15 +195,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)