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
This commit is contained in:
Ed Maste 2020-03-02 12:31:52 -05:00
parent 47972d6dc4
commit 20dfe27b2d
5 changed files with 23 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;
}

View File

@ -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;
}