Author: jhb
Date: Wed Jul 12 20:10:53 2017
New Revision: 320921
URL: https://svnweb.freebsd.org/changeset/base/320921

Log:
  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

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

Modified: stable/11/share/man/man4/digi.4
==============================================================================
--- stable/11/share/man/man4/digi.4     Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/share/man/man4/digi.4     Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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

Modified: stable/11/share/man/man4/man4.i386/ie.4
==============================================================================
--- stable/11/share/man/man4/man4.i386/ie.4     Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/share/man/man4/man4.i386/ie.4     Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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/11/share/man/man4/man4.i386/wl.4
==============================================================================
--- stable/11/share/man/man4/man4.i386/wl.4     Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/share/man/man4/man4.i386/wl.4     Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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/11/share/man/man4/mcd.4
==============================================================================
--- stable/11/share/man/man4/mcd.4      Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/share/man/man4/mcd.4      Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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/11/share/man/man4/scd.4
==============================================================================
--- stable/11/share/man/man4/scd.4      Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/share/man/man4/scd.4      Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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/11/share/man/man4/si.4
==============================================================================
--- stable/11/share/man/man4/si.4       Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/share/man/man4/si.4       Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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/11/share/man/man4/spic.4
==============================================================================
--- stable/11/share/man/man4/spic.4     Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/share/man/man4/spic.4     Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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/11/sys/dev/digi/digi.c
==============================================================================
--- stable/11/sys/dev/digi/digi.c       Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/sys/dev/digi/digi.c       Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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/11/sys/dev/ie/if_ie.c
==============================================================================
--- stable/11/sys/dev/ie/if_ie.c        Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/sys/dev/ie/if_ie.c        Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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);
 }

Modified: stable/11/sys/dev/mcd/mcd.c
==============================================================================
--- stable/11/sys/dev/mcd/mcd.c Wed Jul 12 19:13:58 2017        (r320920)
+++ stable/11/sys/dev/mcd/mcd.c Wed Jul 12 20:10:53 2017        (r320921)
@@ -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);
 }

Modified: stable/11/sys/dev/scd/scd.c
==============================================================================
--- stable/11/sys/dev/scd/scd.c Wed Jul 12 19:13:58 2017        (r320920)
+++ stable/11/sys/dev/scd/scd.c Wed Jul 12 20:10:53 2017        (r320921)
@@ -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);
 }

Modified: stable/11/sys/dev/si/si.c
==============================================================================
--- stable/11/sys/dev/si/si.c   Wed Jul 12 19:13:58 2017        (r320920)
+++ stable/11/sys/dev/si/si.c   Wed Jul 12 20:10:53 2017        (r320921)
@@ -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);
 }
 

Modified: stable/11/sys/dev/wl/if_wl.c
==============================================================================
--- stable/11/sys/dev/wl/if_wl.c        Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/sys/dev/wl/if_wl.c        Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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);
 }
 

Modified: stable/11/sys/i386/isa/spic.c
==============================================================================
--- stable/11/sys/i386/isa/spic.c       Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/sys/i386/isa/spic.c       Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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;
 }

Modified: stable/11/usr.sbin/sicontrol/sicontrol.8
==============================================================================
--- stable/11/usr.sbin/sicontrol/sicontrol.8    Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/usr.sbin/sicontrol/sicontrol.8    Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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/11/usr.sbin/wlconfig/wlconfig.8
==============================================================================
--- stable/11/usr.sbin/wlconfig/wlconfig.8      Wed Jul 12 19:13:58 2017        
(r320920)
+++ stable/11/usr.sbin/wlconfig/wlconfig.8      Wed Jul 12 20:10:53 2017        
(r320921)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to