From 2495ef28e9ae2468e4382189b288c850467743c9 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 2 Mar 2020 20:14:27 +0000 Subject: [PATCH] Add deprecation notices to ctau and cx drivers These support outdated or obsolete ISA WAN (T1/E1) sync serial cards, and these drivers haven't really been touched (other than in tree-wide sweeps to keep them building) for 15+ years. Related PCI devices ce and cp are still in the tree, with deprecation proposed in D23928. MFC after: 1 week Relnotes: Yes Sponsored by: The FreeBSD Foundation --- share/man/man4/man4.i386/ctau.4 | 8 +++++++- share/man/man4/man4.i386/cx.4 | 8 +++++++- sys/dev/ctau/if_ct.c | 1 + sys/dev/cx/if_cx.c | 1 + 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/share/man/man4/man4.i386/ctau.4 b/share/man/man4/man4.i386/ctau.4 index e18dc347ad32..1a10c890e6a9 100644 --- a/share/man/man4/man4.i386/ctau.4 +++ b/share/man/man4/man4.i386/ctau.4 @@ -13,7 +13,7 @@ .\" Cronyx Id: ct.4,v 1.1.2.6 2004/06/21 17:56:40 rik Exp $ .\" $FreeBSD$ .\" -.Dd September 6, 2004 +.Dd March 2, 2020 .Dt CTAU 4 i386 .Os .Sh NAME @@ -33,6 +33,12 @@ In .Cd hint.ctau.0.port="0x240" .Cd hint.ctau.0.irq="15" .Cd hint.ctau.0.drq="7" +.Sh DEPRECATION NOTICE +The +.Nm +driver is not present in +.Fx 13.0 +and later. .Sh DESCRIPTION The .Nm diff --git a/share/man/man4/man4.i386/cx.4 b/share/man/man4/man4.i386/cx.4 index 00df603b5941..c2ccc71a914b 100644 --- a/share/man/man4/man4.i386/cx.4 +++ b/share/man/man4/man4.i386/cx.4 @@ -13,7 +13,7 @@ .\" Cronyx Id: cx.4,v 1.1.2.6 2004/06/21 17:56:40 rik Exp $ .\" $FreeBSD$ .\" -.Dd July 16, 2005 +.Dd March 2, 2020 .Dt CX 4 i386 .Os .Sh NAME @@ -45,6 +45,12 @@ In .Cd hint.cx.0.port="0x240" .Cd hint.cx.0.irq="15" .Cd hint.cx.0.drq="7" +.Sh DEPRECATION NOTICE +The +.Nm +driver is not present in +.Fx 13.0 +and later. .Sh DESCRIPTION The .Nm diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c index 41975bae1e3f..540842511f10 100644 --- a/sys/dev/ctau/if_ct.c +++ b/sys/dev/ctau/if_ct.c @@ -748,6 +748,7 @@ static int ct_attach (device_t dev) } splx (s); + gone_in_dev(dev, 13, "sync serial (T1/E1) ISA card drivers"); return 0; } diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index 58fca9fe7719..b7f6e08fead0 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -871,6 +871,7 @@ static int cx_attach (device_t dev) } splx (s); + gone_in_dev(dev, 13, "sync serial (T1/E1) ISA card drivers"); return 0; }