From nobody Tue Dec 13 19:59:20 2022 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 4NWq8831Jrz4kdS8; Tue, 13 Dec 2022 19:59:20 +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 4NWq88268Bz3FHg; Tue, 13 Dec 2022 19:59:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670961560; 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=1C3tIHeocQKuewHkpEV6nPGuvW6Ugs0FY7LZ7P7JPWg=; b=TEy5JERFFzZVenrdpY7WkXMilSWWZAAvEhcEtM0v7FMksJrlzdoVOcf9DE0uFKl5JPUz45 mtIFE4TWlTTYTVzSFpSOrVIl1YuJYuxn5V6VT7SvPEel9PnePBcqnZooG4xbiwmasboqYH K+hj4Y+08eVjEi9cp++naO+aDQ9XN3AVB67qAPWsnep34E0/N1Og5iJuMl2m2y7qrbe4MV /NwgtjyBYA8lHagnXqFAfRBVDreuLhaV85lvAp0GltXBDEf0tPsooFyCSZnFHgnOHHe9Wk FkYW9PuUB1CGDkdco/RqaeYR55IaxN0TvPRckydG82ap/L1xmniX2QPqmaS+vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670961560; 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=1C3tIHeocQKuewHkpEV6nPGuvW6Ugs0FY7LZ7P7JPWg=; b=dHUMW/kpcOOrGxtyi8ncmB6WkWqxtfHmLZMkgQyYDL+rtLUMS3YxrJ6u4WVTJQ7qmKAltp Jgl6x/4/89+v9nUVPNmRYuS4wJgkLmVQGcV1Nl4QvrWfAqxizHZWoVLImLmIvtWUpdmTyu Wo03NvC6l+NwM+GD2D7Ta0K7USCKDQJ1Qtd2UzP2PnNs4zo7jQfUNvgIADM8y83LrSMIQG X/uTe9xVizETDDveRcuc8wasrR3aLhh8oP7/PLvMb7nBUVhC81o+xI7cV4o8c/+NE0c71y zkWhmPJS1mog475ncOTG7UmACxD2F31uzNHPr45ZsTVPlvkRYDtSoVRwFt/8nQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670961560; a=rsa-sha256; cv=none; b=tteDqrG66DaudA39r9mgmBVPgDt1OFQ6AUePp7yN6SSorlSkQqiycPh6LMVdKUsWiaNM0t 5IJ28lKmFhnMVpWLzf806pXielbpqhGQKhouYB2UIBPSa7HtqMGqifz+kZyp09PRX4uXF3 yPuQhnok9PwVHXeDPwLrYyvTrQ7Xwi0HmYeuqoIVBrqLJr5XszkIYWBWt6E1F47g5ZhZCR GJ9Hj6Of6mkHcWTsLACR4tIQ+CuAR+lIkrBnXgFmGs90rRBNKlf/ytWi72qTsIMvQ+2E1S 38kVtsekDlpXMHnNTkx3z/JYEv4w6X4RR1UPTeuN5ImJt2kz1PkCyJbpzF1I8g== 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 4NWq8819MrzRGB; Tue, 13 Dec 2022 19:59:20 +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 2BDJxK6t094036; Tue, 13 Dec 2022 19:59:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BDJxKCM094035; Tue, 13 Dec 2022 19:59:20 GMT (envelope-from git) Date: Tue, 13 Dec 2022 19:59:20 GMT Message-Id: <202212131959.2BDJxKCM094035@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 20dfe27b2d03 - main - Add deprecation notices to ce,cp sync serial drivers 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 20dfe27b2d031c4000f5be94fd1db8872167a537 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=20dfe27b2d031c4000f5be94fd1db8872167a537 commit 20dfe27b2d031c4000f5be94fd1db8872167a537 Author: Ed Maste AuthorDate: 2020-03-02 17:31:52 +0000 Commit: Ed Maste CommitDate: 2022-12-13 19:59:08 +0000 Add deprecation notices to ce,cp sync serial drivers And the related sconfig utility. Sync serial (e.g. E1/T1) interfaces are obsolete, and nobody responded to several inquires on the mailing lists about use of these drivers. Relnotes: Yes MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23928 --- sbin/sconfig/sconfig.8 | 8 +++++++- share/man/man4/man4.i386/ce.4 | 8 +++++++- share/man/man4/man4.i386/cp.4 | 8 +++++++- sys/dev/ce/if_ce.c | 1 + sys/dev/cp/if_cp.c | 1 + 5 files changed, 23 insertions(+), 3 deletions(-) diff --git a/sbin/sconfig/sconfig.8 b/sbin/sconfig/sconfig.8 index a55bf911e3dd..67d613202a92 100644 --- a/sbin/sconfig/sconfig.8 +++ b/sbin/sconfig/sconfig.8 @@ -11,7 +11,7 @@ .\" works or modified versions. .\" .\" $FreeBSD$ -.Dd October 3, 2016 +.Dd December 13, 2022 .Dt SCONFIG 8 i386 .Os .Sh NAME @@ -24,6 +24,12 @@ .Op Ar data_rate_options .Op Ar protocol_options ... .Op Ar interface_options ... +.Sh DEPRECATION NOTICE +The +.Nm +utility is not present in +.Fx 14.0 +and later. .Sh DESCRIPTION The .Nm diff --git a/share/man/man4/man4.i386/ce.4 b/share/man/man4/man4.i386/ce.4 index 451f9fb22da0..1f5138f24cde 100644 --- a/share/man/man4/man4.i386/ce.4 +++ b/share/man/man4/man4.i386/ce.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 22, 2021 +.Dd December 13, 2022 .Dt CE 4 i386 .Os .Sh NAME @@ -44,6 +44,12 @@ module at boot time, place the following line in .Bd -literal -offset indent if_ce_load="YES" .Ed +.Sh DEPRECATION NOTICE +The +.Nm +driver is not present in +.Fx 14.0 +and later. .Sh DESCRIPTION The .Nm diff --git a/share/man/man4/man4.i386/cp.4 b/share/man/man4/man4.i386/cp.4 index 2e86e03a7de3..d07db367c849 100644 --- a/share/man/man4/man4.i386/cp.4 +++ b/share/man/man4/man4.i386/cp.4 @@ -13,7 +13,7 @@ .\" Cronyx Id: cp.4,v 1.1.2.5 2004/06/21 17:47:40 rik Exp $ .\" $FreeBSD$ .\" -.Dd October 22, 2021 +.Dd December 13, 2022 .Dt CP 4 i386 .Os .Sh NAME @@ -34,6 +34,12 @@ module at boot time, place the following line in if_cp_load="YES" .Ed .Pp +.Sh DEPRECATION NOTICE +The +.Nm +driver is not present in +.Fx 14.0 +and later. .Sh DESCRIPTION The .Nm diff --git a/sys/dev/ce/if_ce.c b/sys/dev/ce/if_ce.c index 2a92578011d0..dab22d9a23a0 100644 --- a/sys/dev/ce/if_ce.c +++ b/sys/dev/ce/if_ce.c @@ -508,6 +508,7 @@ static int ce_attach (device_t dev) CE_UNLOCK (bd); splx (s); + gone_in_dev(dev, 14, "sync serial (T1/E1) drivers"); return 0; } diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index 3a5887427e36..ab14ade4f259 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -455,6 +455,7 @@ static int cp_attach (device_t dev) adapter[unit] = b; CP_UNLOCK (bd); splx (s); + gone_in_dev(dev, 14, "sync serial (T1/E1) drivers"); return 0; }