svn commit: r320923 - in stable/10: share/man/man4 share/man/man4/man4.i386 sys/dev/digi sys/dev/ie sys/dev/mcd sys/dev/scd sys/dev/si sys/dev/wl sys/i386/isa usr.sbin/sicontrol usr.sbin/wlconfig

John Baldwin jhb at FreeBSD.org
Wed Jul 12 22:16:57 UTC 2017


Author: jhb
Date: Wed Jul 12 22:16:54 2017
New Revision: 320923
URL: https://svnweb.freebsd.org/changeset/base/320923

Log:
  Add deprecation notices for various device drivers removed in 12.0.
  
  This is a direct commit to stable/10 since these files have already
  been removed in head.

Modified:
  stable/10/share/man/man4/digi.4
  stable/10/share/man/man4/man4.i386/ie.4
  stable/10/share/man/man4/man4.i386/wl.4
  stable/10/share/man/man4/mcd.4
  stable/10/share/man/man4/scd.4
  stable/10/share/man/man4/si.4
  stable/10/share/man/man4/spic.4
  stable/10/sys/dev/digi/digi.c
  stable/10/sys/dev/ie/if_ie.c
  stable/10/sys/dev/mcd/mcd.c
  stable/10/sys/dev/scd/scd.c
  stable/10/sys/dev/si/si.c
  stable/10/sys/dev/wl/if_wl.c
  stable/10/sys/i386/isa/spic.c
  stable/10/usr.sbin/sicontrol/sicontrol.8
  stable/10/usr.sbin/wlconfig/wlconfig.8

Modified: stable/10/share/man/man4/digi.4
==============================================================================
--- stable/10/share/man/man4/digi.4	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/share/man/man4/digi.4	Wed Jul 12 22:16:54 2017	(r320923)
@@ -37,7 +37,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
@@ -84,6 +84,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

Modified: stable/10/share/man/man4/man4.i386/ie.4
==============================================================================
--- stable/10/share/man/man4/man4.i386/ie.4	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/share/man/man4/man4.i386/ie.4	Wed Jul 12 22:16:54 2017	(r320923)
@@ -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

Modified: stable/10/share/man/man4/man4.i386/wl.4
==============================================================================
--- stable/10/share/man/man4/man4.i386/wl.4	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/share/man/man4/man4.i386/wl.4	Wed Jul 12 22:16:54 2017	(r320923)
@@ -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

Modified: stable/10/share/man/man4/mcd.4
==============================================================================
--- stable/10/share/man/man4/mcd.4	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/share/man/man4/mcd.4	Wed Jul 12 22:16:54 2017	(r320923)
@@ -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

Modified: stable/10/share/man/man4/scd.4
==============================================================================
--- stable/10/share/man/man4/scd.4	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/share/man/man4/scd.4	Wed Jul 12 22:16:54 2017	(r320923)
@@ -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

Modified: stable/10/share/man/man4/si.4
==============================================================================
--- stable/10/share/man/man4/si.4	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/share/man/man4/si.4	Wed Jul 12 22:16:54 2017	(r320923)
@@ -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.

Modified: stable/10/share/man/man4/spic.4
==============================================================================
--- stable/10/share/man/man4/spic.4	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/share/man/man4/spic.4	Wed Jul 12 22:16:54 2017	(r320923)
@@ -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

Modified: stable/10/sys/dev/digi/digi.c
==============================================================================
--- stable/10/sys/dev/digi/digi.c	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/sys/dev/digi/digi.c	Wed Jul 12 22:16:54 2017	(r320923)
@@ -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);
 }

Modified: stable/10/sys/dev/ie/if_ie.c
==============================================================================
--- stable/10/sys/dev/ie/if_ie.c	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/sys/dev/ie/if_ie.c	Wed Jul 12 22:16:54 2017	(r320923)
@@ -326,6 +326,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);
 }

Modified: stable/10/sys/dev/mcd/mcd.c
==============================================================================
--- stable/10/sys/dev/mcd/mcd.c	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/sys/dev/mcd/mcd.c	Wed Jul 12 22:16:54 2017	(r320923)
@@ -206,6 +206,8 @@ mcd_attach(struct mcd_softc *sc)
 				 UID_ROOT, GID_OPERATOR, 0640, "mcd%d", unit);
 
 	sc->mcd_dev_t->si_drv1 = (void *)sc;
+	device_printf(sc->dev,
+	    "WARNING: This driver is deprecated and will be removed.\n");
 
 	return (0);
 }

Modified: stable/10/sys/dev/scd/scd.c
==============================================================================
--- stable/10/sys/dev/scd/scd.c	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/sys/dev/scd/scd.c	Wed Jul 12 22:16:54 2017	(r320923)
@@ -172,6 +172,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);
 }

Modified: stable/10/sys/dev/si/si.c
==============================================================================
--- stable/10/sys/dev/si/si.c	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/sys/dev/si/si.c	Wed Jul 12 22:16:54 2017	(r320923)
@@ -605,6 +605,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);
 }
 

Modified: stable/10/sys/dev/wl/if_wl.c
==============================================================================
--- stable/10/sys/dev/wl/if_wl.c	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/sys/dev/wl/if_wl.c	Wed Jul 12 22:16:54 2017	(r320923)
@@ -575,6 +575,8 @@ wlattach(device_t device)
 
     if (bootverbose)
 	wldump(sc);
+    device_printf(device,
+	"WARNING: This driver is deprecated and will be removed.\n");
     return (0);
 }
 

Modified: stable/10/sys/i386/isa/spic.c
==============================================================================
--- stable/10/sys/i386/isa/spic.c	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/sys/i386/isa/spic.c	Wed Jul 12 22:16:54 2017	(r320923)
@@ -346,6 +346,8 @@ spic_attach(device_t dev)
 
 	/* There can be only one */
 	make_dev(&spic_cdevsw, 0, 0, 0, 0600, "jogdial");
+	device_printf(dev,
+	    "WARNING: This driver is deprecated and will be removed.\n");
 
 	return 0;
 }

Modified: stable/10/usr.sbin/sicontrol/sicontrol.8
==============================================================================
--- stable/10/usr.sbin/sicontrol/sicontrol.8	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/usr.sbin/sicontrol/sicontrol.8	Wed Jul 12 22:16:54 2017	(r320923)
@@ -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

Modified: stable/10/usr.sbin/wlconfig/wlconfig.8
==============================================================================
--- stable/10/usr.sbin/wlconfig/wlconfig.8	Wed Jul 12 21:46:16 2017	(r320922)
+++ stable/10/usr.sbin/wlconfig/wlconfig.8	Wed Jul 12 22:16:54 2017	(r320923)
@@ -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


More information about the svn-src-all mailing list