aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-03-02 17:31:52 +0000
committerEd Maste <emaste@FreeBSD.org>2022-12-22 15:47:14 +0000
commitb8131156826d79205f37ac9e5c05826f9af6f28f (patch)
tree7025693fc26ae39ef18ea4bc5e32fdb816fd3e64
parent0eebb2d30a34ac48254fc54f38cbfe13441782c7 (diff)
downloadsrc-b8131156826d79205f37ac9e5c05826f9af6f28f.tar.gz
src-b8131156826d79205f37ac9e5c05826f9af6f28f.zip
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)
-rw-r--r--sbin/sconfig/sconfig.88
-rw-r--r--share/man/man4/man4.i386/ce.48
-rw-r--r--share/man/man4/man4.i386/cp.48
-rw-r--r--sys/dev/ce/if_ce.c1
-rw-r--r--sys/dev/cp/if_cp.c1
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 531904fd539c..20df32b88592 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 486397d2a2a9..7edde5af73bd 100644
--- a/sys/dev/ce/if_ce.c
+++ b/sys/dev/ce/if_ce.c
@@ -595,6 +595,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 c8d080fcc601..73af8bafed92 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;
}