summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2017-07-12 20:10:53 +0000
committerjhb <jhb@FreeBSD.org>2017-07-12 20:10:53 +0000
commitb40b0a78a3a319b57d7920f57f798e7932eece16 (patch)
tree973a4861cc9d78e7c8a56ef2536505089b726bc8
parent9de5b2dbb7badfffac15ac544e5d943dc4d6686b (diff)
downloadFreeBSD-src-b40b0a78a3a319b57d7920f57f798e7932eece16.zip
FreeBSD-src-b40b0a78a3a319b57d7920f57f798e7932eece16.tar.gz
Add deprecation notices for various device drivers removed in 12.0.
This is a direct commit to stable/11 since these files have already been removed in head. Reviewed by: sbruno, gjb Differential Revision: https://reviews.freebsd.org/D11542
-rw-r--r--share/man/man4/digi.47
-rw-r--r--share/man/man4/man4.i386/ie.47
-rw-r--r--share/man/man4/man4.i386/wl.47
-rw-r--r--share/man/man4/mcd.47
-rw-r--r--share/man/man4/scd.47
-rw-r--r--share/man/man4/si.47
-rw-r--r--share/man/man4/spic.47
-rw-r--r--sys/dev/digi/digi.c2
-rw-r--r--sys/dev/ie/if_ie.c2
-rw-r--r--sys/dev/mcd/mcd.c2
-rw-r--r--sys/dev/scd/scd.c2
-rw-r--r--sys/dev/si/si.c2
-rw-r--r--sys/dev/wl/if_wl.c2
-rw-r--r--sys/i386/isa/spic.c2
-rw-r--r--usr.sbin/sicontrol/sicontrol.87
-rw-r--r--usr.sbin/wlconfig/wlconfig.87
16 files changed, 68 insertions, 9 deletions
diff --git a/share/man/man4/digi.4 b/share/man/man4/digi.4
index 1e34119..f1a1297 100644
--- a/share/man/man4/digi.4
+++ b/share/man/man4/digi.4
@@ -33,7 +33,7 @@
.\" from: sio.4,v 1.15 1994/12/06 20:14:30 bde Exp
.\" $FreeBSD$
.\"
-.Dd December 7, 2003
+.Dd July 8, 2017
.Dt DIGI 4
.Os
.Sh NAME
@@ -80,6 +80,11 @@ Device numbering:
\fBI\fPnitial
\fBPPPPP\fPort number
.Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver will be removed in
+.Fx 12.0 .
.Sh DESCRIPTION
The
.Nm
diff --git a/share/man/man4/man4.i386/ie.4 b/share/man/man4/man4.i386/ie.4
index 2ef9d05..f58815f 100644
--- a/share/man/man4/man4.i386/ie.4
+++ b/share/man/man4/man4.i386/ie.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 16, 2005
+.Dd July 8, 2017
.Dt IE 4 i386
.Os
.Sh NAME
@@ -52,6 +52,11 @@ In
.Cd hint.ie.0.port="0x300"
.Cd hint.ie.0.irq="5"
.Cd hint.ie.0.maddr="0xd0000"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver will be removed in
+.Fx 12.0 .
.Sh HARDWARE
The
.Nm
diff --git a/share/man/man4/man4.i386/wl.4 b/share/man/man4/man4.i386/wl.4
index e697d23..274ccefd 100644
--- a/share/man/man4/man4.i386/wl.4
+++ b/share/man/man4/man4.i386/wl.4
@@ -29,7 +29,7 @@
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD$
-.Dd September 29, 2006
+.Dd July 8, 2017
.Dt WL 4 i386
.Os
.Sh NAME
@@ -37,6 +37,11 @@
.Nd T1 speed ISA/radio lan card
.Sh SYNOPSIS
.Cd "device wl0 at isa? port 0x300 irq 5"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver will be removed in
+.Fx 12.0 .
.Sh DESCRIPTION
The
.Nm
diff --git a/share/man/man4/mcd.4 b/share/man/man4/mcd.4
index 3a79eee..7066797 100644
--- a/share/man/man4/mcd.4
+++ b/share/man/man4/mcd.4
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 8, 1994
+.Dd July 8, 2017
.Dt MCD 4
.Os
.Sh NAME
@@ -40,6 +40,11 @@ In
.Cd hint.mcd.0.at="isa"
.Cd hint.mcd.0.port="0x300"
.Cd hint.mcd.0.irq="10"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver will be removed in
+.Fx 12.0 .
.Sh DESCRIPTION
The
.Nm
diff --git a/share/man/man4/scd.4 b/share/man/man4/scd.4
index dbbb18f..1bc366c 100644
--- a/share/man/man4/scd.4
+++ b/share/man/man4/scd.4
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 17, 2008
+.Dd July 8, 2017
.Dt SCD 4
.Os
.Sh NAME
@@ -39,6 +39,11 @@ In
.Pa /boot/device.hints :
.Cd hint.scd.0.at="isa"
.Cd hint.scd.0.port="0x230"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver will be removed in
+.Fx 12.0 .
.Sh DESCRIPTION
The
.Nm
diff --git a/share/man/man4/si.4 b/share/man/man4/si.4
index 1f00885..ceaa8d5 100644
--- a/share/man/man4/si.4
+++ b/share/man/man4/si.4
@@ -1,5 +1,5 @@
.\" $FreeBSD$
-.Dd September 16, 1995
+.Dd July 8, 2017
.Dt SI 4
.Os
.Sh NAME
@@ -13,6 +13,11 @@ For ISA host cards put the following lines in
.Cd hint.si.0.at="isa"
.Cd hint.si.0.maddr="0xd0000"
.Cd hint.si.0.irq="12"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver will be removed in
+.Fx 12.0 .
.Sh DESCRIPTION
The Specialix SI/XIO and SX hardware makes up an 8 to 32 port RS-232 serial
multiplexor.
diff --git a/share/man/man4/spic.4 b/share/man/man4/spic.4
index 5bbf53b..4cadf50 100644
--- a/share/man/man4/spic.4
+++ b/share/man/man4/spic.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 20, 2002
+.Dd July 8, 2017
.Dt SPIC 4
.Os
.Sh NAME
@@ -33,6 +33,11 @@
.Nd Sony Programmable I/O Controller device driver
.Sh SYNOPSIS
.Cd "device spic"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver will be removed in
+.Fx 12.0 .
.Sh DESCRIPTION
The
.Nm
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c
index b8ede24..3518ae4 100644
--- a/sys/dev/digi/digi.c
+++ b/sys/dev/digi/digi.c
@@ -1458,6 +1458,8 @@ digi_attach(struct digi_softc *sc)
digi_loadmoduledata(sc);
digi_init(sc);
digi_freemoduledata(sc);
+ device_printf(dev,
+ "WARNING: This driver is deprecated and will be removed.\n");
return (0);
}
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c
index dc7a868..657532b 100644
--- a/sys/dev/ie/if_ie.c
+++ b/sys/dev/ie/if_ie.c
@@ -327,6 +327,8 @@ ie_attach(device_t dev)
mtx_destroy(&sc->lock);
return (error);
}
+ device_printf(dev,
+ "WARNING: This driver is deprecated and will be removed.\n");
return (0);
}
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c
index dacbb3d..2ce41bb 100644
--- a/sys/dev/mcd/mcd.c
+++ b/sys/dev/mcd/mcd.c
@@ -209,6 +209,8 @@ mcd_attach(struct mcd_softc *sc)
sc->mcd_dev_t->si_drv1 = (void *)sc;
callout_init_mtx(&sc->timer, &sc->mtx, 0);
+ device_printf(sc->dev,
+ "WARNING: This driver is deprecated and will be removed.\n");
return (0);
}
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index e84a707..1124bff 100644
--- a/sys/dev/scd/scd.c
+++ b/sys/dev/scd/scd.c
@@ -174,6 +174,8 @@ scd_attach(struct scd_softc *sc)
sc->scd_dev_t = make_dev(&scd_cdevsw, 8 * unit,
UID_ROOT, GID_OPERATOR, 0640, "scd%d", unit);
sc->scd_dev_t->si_drv1 = (void *)sc;
+ device_printf(sc->dev,
+ "WARNING: This driver is deprecated and will be removed.\n");
return (0);
}
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 5c2ccbb..5094aaf 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -604,6 +604,8 @@ try_next2:
if (unit == 0)
make_dev(&si_Scdevsw, 0, UID_ROOT, GID_WHEEL, 0600,
"si_control");
+ device_printf(dev,
+ "WARNING: This driver is deprecated and will be removed.\n");
return (0);
}
diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c
index 08d0fc8..647e20e 100644
--- a/sys/dev/wl/if_wl.c
+++ b/sys/dev/wl/if_wl.c
@@ -564,6 +564,8 @@ wlattach(device_t device)
if (bootverbose)
wldump(sc);
+ device_printf(device,
+ "WARNING: This driver is deprecated and will be removed.\n");
return (0);
}
diff --git a/sys/i386/isa/spic.c b/sys/i386/isa/spic.c
index 2444333..ca11d62 100644
--- a/sys/i386/isa/spic.c
+++ b/sys/i386/isa/spic.c
@@ -350,6 +350,8 @@ spic_attach(device_t dev)
/* There can be only one */
sc->sc_cdev = make_dev(&spic_cdevsw, 0, 0, 0, 0600, "jogdial");
sc->sc_cdev->si_drv1 = sc;
+ device_printf(dev,
+ "WARNING: This driver is deprecated and will be removed.\n");
return 0;
}
diff --git a/usr.sbin/sicontrol/sicontrol.8 b/usr.sbin/sicontrol/sicontrol.8
index 1503591..b95e2a2 100644
--- a/usr.sbin/sicontrol/sicontrol.8
+++ b/usr.sbin/sicontrol/sicontrol.8
@@ -1,6 +1,6 @@
.\" $FreeBSD$
.\"
-.Dd September 26, 1995
+.Dd July 8, 2017
.Dt SICONTROL 8
.Os
.Sh NAME
@@ -10,6 +10,11 @@
.Nm
device
.Ar command Op Ar param ...
+.Sh DEPRECATION NOTICE
+The
+.Nm
+utility will be removed in
+.Fx 12.0 .
.Sh DESCRIPTION
The
.Nm
diff --git a/usr.sbin/wlconfig/wlconfig.8 b/usr.sbin/wlconfig/wlconfig.8
index b448339..cdeddf9 100644
--- a/usr.sbin/wlconfig/wlconfig.8
+++ b/usr.sbin/wlconfig/wlconfig.8
@@ -1,6 +1,6 @@
.\" $FreeBSD$
.\"
-.Dd December 26, 1996
+.Dd July 8, 2017
.Dt WLCONFIG 8 i386
.Os
.Sh NAME
@@ -10,6 +10,11 @@
.Nm
.Ar ifname
.Op Ar param value ...
+.Sh DEPRECATION NOTICE
+The
+.Nm
+utility will be removed in
+.Fx 12.0 .
.Sh DESCRIPTION
The
.Nm
OpenPOWER on IntegriCloud