From nobody Thu Dec 22 15:49:17 2022 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 4NdF9T2TR2z1G2pT; Thu, 22 Dec 2022 15:49:17 +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 4NdF9T225Wz3h9s; Thu, 22 Dec 2022 15:49:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671724157; 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=Gw6DlQyIbZCqPFTwNuOAQNAGMHG4auBT79nDVMBjvag=; b=FgwLm4IYbPejunXF6wa2g8BrHma+b27NexaP9bvDWpWQ7HNBZW4/71oCQruuC+dFEybWVk hyaU1m4B9IzaeLB/POD4j+XzKkdHkWBrRDS/ZUROCuBOTV4uTlAHFY1Idf0i795KG3qx9a L8vjGbuoTsBSgmMouoZ+va9z0eZzy/ekaN/xQVDegvgDTrBCOOKCgPGJzUNBhJQktBg0s6 n6V6UQnZKbsMD3ZaYfz1L1jy9ze9n1BlEFIhj81Kbdux7SHlzw3pm64nCGlHeIV/SeWTG1 LscY85L1fF+hE50AzKTQ6J6It0SWIwRrvr1PIB3mo8EutP6oV0RHLa3KsXqBwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671724157; 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=Gw6DlQyIbZCqPFTwNuOAQNAGMHG4auBT79nDVMBjvag=; b=HdGIO8p0fdSPKwgDcQhLKPxmwHkTSZ1jUz8TrO5SbUJFyem2ksMjLYnRGMxuFHx5yj+4qg XZjoglNOhwl4ep7mXcyz1JuDE+7GTbcnlcaaxT+A+fHPh4Rofgrq/l4wkNb/1ETj7gYWVl 8gUfeqS0vOYlwya7QkVLo8OlgM6p304VHYkvnGPA9aPdqpkmEca3vOm+FjU/KlongPnKl7 93JKyLmADLmaY6Hi5nTi9Oc6H109Zoi9LDCxKV/Zgmjs4f0PuIEELczQDQsvWdzFFaXezh v4rovtQ9T5H7WCgsuwDxKZgbAOoymlkcfkogRz+OWJYWY6k8EH7T50BXM5o7KQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671724157; a=rsa-sha256; cv=none; b=SC+RlVLI/aCKjaYkgtMA9PZEHabOVahPI53GrMNBcZtfAl75Jsj0HKEPpQIWOAIVTbSB7U FAE2+MJQaRbgnAJ7Gnkj6pU76n1JfXij4EpKE7MKrdLR7rVuZYNezwyuDy4HKMFsvzMxss bmNBfsYk1UoGgOOnoIzLHNrWBJC5qAEPmhOYP0CWNJiJ4dXzqLaBnBDmH00eV9liqkebpk IaqZRKWBGJXl2g7k/HIwwR45pyDQQkAephCzsyoqtWN3tjW9utCpM9YyFcZjsGyAor1R08 9GBlwh+7hHQIwyy7xPjaHVL74sqI+4B9v3wXpZvxdOUlK3n6zzgSPkDgIc9mEQ== 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 4NdF9T16JMz10jR; Thu, 22 Dec 2022 15:49:17 +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 2BMFnHR9081397; Thu, 22 Dec 2022 15:49:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BMFnHK5081396; Thu, 22 Dec 2022 15:49:17 GMT (envelope-from git) Date: Thu, 22 Dec 2022 15:49:17 GMT Message-Id: <202212221549.2BMFnHK5081396@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 491ebfc123c9 - stable/12 - Add deprecation notices to ce,cp sync serial drivers 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 491ebfc123c9322458a5746cba5592f74c268424 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=491ebfc123c9322458a5746cba5592f74c268424 commit 491ebfc123c9322458a5746cba5592f74c268424 Author: Ed Maste AuthorDate: 2020-03-02 17:31:52 +0000 Commit: Ed Maste CommitDate: 2022-12-22 15:48:47 +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 (cherry picked from commit 20dfe27b2d031c4000f5be94fd1db8872167a537) (cherry picked from commit b8131156826d79205f37ac9e5c05826f9af6f28f) --- 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 713f76d88c9d..6514c48ed09a 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 fec2dabcb8d7..f984632877fe 100644 --- a/share/man/man4/man4.i386/ce.4 +++ b/share/man/man4/man4.i386/ce.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 30, 2006 +.Dd December 13, 2022 .Dt CE 4 i386 .Os .Sh NAME @@ -49,6 +49,12 @@ Additional options: .Cd "device sppp" .Cd "options NETGRAPH" .Cd "options NETGRAPH_CRONYX" +.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 049bb0829749..4fbd6ab4a087 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 July 16, 2005 +.Dd December 13, 2022 .Dt CP 4 i386 .Os .Sh NAME @@ -38,6 +38,12 @@ Additional options: .Cd "device sppp" .Cd "options NETGRAPH" .Cd "options NETGRAPH_CRONYX" +.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 541db6ce16c9..3392de1b196e 100644 --- a/sys/dev/ce/if_ce.c +++ b/sys/dev/ce/if_ce.c @@ -743,6 +743,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 29643b2ba7f1..e7ab0ca32249 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -530,6 +530,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; }