Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2019 20:43:13 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r347962 - in stable/11: share/man/man4 share/man/man4/man4.i386 share/man/man4/man4.powerpc sys/dev/bm sys/dev/cs sys/dev/de sys/dev/ed sys/dev/ep sys/dev/ex sys/dev/fe sys/dev/pcn sys/...
Message-ID:  <201905182043.x4IKhDdD038241@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Sat May 18 20:43:13 2019
New Revision: 347962
URL: https://svnweb.freebsd.org/changeset/base/347962

Log:
  MFC r339703, r347365, r347703, r347940
  
  r339703:
  Deprecate a number of less used 10 and 10/100 Ethernet devices.
  
  The current deprecated list is: ae, bm, cs, de, dme, ed, ep, ex, fe,
  pcn, sf, sn, tl, tx, txp, vx, wb, xe
  
  The list as refined as part of FCP-0101. Per the FCP, devices may be
  removed from the deprecation list if enough users are found or they are
  converted to iflib.
  
  FCP:	https://github.com/freebsd/fcp/blob/master/fcp-0101.md
  
  r347365:
  Update dme(4) to reflect that it will not be removed due to FCP-101.
  
  dme(4) is the built-in NIC on a couple non-expandable mips platforms and
  thus should remain.  The FCP has been updated to reflect this fact.
  
  Discussed with:	imp
  
  r347703:
  FCP-101: ae(4) is sufficently popular to be moved to the keep list.
  
  r347940:
  Remove the notice that ae(4) will be removed in FreeBSD 13.
  
  MFC requested by:	rgrimes
  Approved by:	re (kib)

Modified:
  stable/11/share/man/man4/de.4
  stable/11/share/man/man4/ed.4
  stable/11/share/man/man4/man4.i386/cs.4
  stable/11/share/man/man4/man4.i386/ep.4
  stable/11/share/man/man4/man4.i386/ex.4
  stable/11/share/man/man4/man4.i386/fe.4
  stable/11/share/man/man4/man4.i386/vx.4
  stable/11/share/man/man4/man4.powerpc/bm.4
  stable/11/share/man/man4/pcn.4
  stable/11/share/man/man4/sf.4
  stable/11/share/man/man4/sn.4
  stable/11/share/man/man4/tl.4
  stable/11/share/man/man4/tx.4
  stable/11/share/man/man4/txp.4
  stable/11/share/man/man4/wb.4
  stable/11/share/man/man4/xe.4
  stable/11/sys/dev/bm/if_bm.c
  stable/11/sys/dev/cs/if_cs.c
  stable/11/sys/dev/de/if_de.c
  stable/11/sys/dev/ed/if_ed.c
  stable/11/sys/dev/ep/if_ep.c
  stable/11/sys/dev/ex/if_ex.c
  stable/11/sys/dev/fe/if_fe.c
  stable/11/sys/dev/pcn/if_pcn.c
  stable/11/sys/dev/sf/if_sf.c
  stable/11/sys/dev/sn/if_sn.c
  stable/11/sys/dev/tl/if_tl.c
  stable/11/sys/dev/tx/if_tx.c
  stable/11/sys/dev/txp/if_txp.c
  stable/11/sys/dev/vx/if_vx.c
  stable/11/sys/dev/wb/if_wb.c
  stable/11/sys/dev/xe/if_xe.c
  stable/11/sys/sys/systm.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/share/man/man4/de.4
==============================================================================
--- stable/11/share/man/man4/de.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/de.4	Sat May 18 20:43:13 2019	(r347962)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 16, 2005
+.Dd October 24, 2018
 .Dt DE 4
 .Os
 .Sh NAME
@@ -45,6 +45,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_de_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/ed.4
==============================================================================
--- stable/11/share/man/man4/ed.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/ed.4	Sat May 18 20:43:13 2019	(r347962)
@@ -30,7 +30,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 25, 2012
+.Dd October 24, 2018
 .Dt ED 4
 .Os
 .Sh NAME
@@ -51,6 +51,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_ed_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/man4.i386/cs.4
==============================================================================
--- stable/11/share/man/man4/man4.i386/cs.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/man4.i386/cs.4	Sat May 18 20:43:13 2019	(r347962)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 16, 2005
+.Dd October 24 2018
 .Dt CS 4 i386
 .Os
 .Sh NAME
@@ -52,6 +52,14 @@ In
 .Cd hint.cs.0.port="0x300"
 .Cd hint.cs.0.irq="10"
 .Cd hint.cs.0.maddr="0xd000"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/man4.i386/ep.4
==============================================================================
--- stable/11/share/man/man4/man4.i386/ep.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/man4.i386/ep.4	Sat May 18 20:43:13 2019	(r347962)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 1, 2011
+.Dd October 24, 2018
 .Dt EP 4 i386
 .Os
 .Sh NAME
@@ -49,6 +49,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_ep_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/man4.i386/ex.4
==============================================================================
--- stable/11/share/man/man4/man4.i386/ex.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/man4.i386/ex.4	Sat May 18 20:43:13 2019	(r347962)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 16, 2005
+.Dd October 24, 2018
 .Dt EX 4 i386
 .Os
 .Sh NAME
@@ -45,6 +45,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_ex_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/man4.i386/fe.4
==============================================================================
--- stable/11/share/man/man4/man4.i386/fe.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/man4.i386/fe.4	Sat May 18 20:43:13 2019	(r347962)
@@ -22,7 +22,7 @@
 .\" for fe driver.
 .\"
 .\" $FreeBSD$
-.Dd July 16, 2005
+.Dd October 24, 2018
 .Dt FE 4 i386
 .Os
 .Sh NAME
@@ -48,6 +48,14 @@ In
 .Cd hint.fe.0.at="isa"
 .Cd hint.fe.0.port="0x300"
 .Cd hint.fe.0.flags="0x0"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/man4.i386/vx.4
==============================================================================
--- stable/11/share/man/man4/man4.i386/vx.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/man4.i386/vx.4	Sat May 18 20:43:13 2019	(r347962)
@@ -30,7 +30,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 16, 2005
+.Dd October 24, 2018
 .Dt VX 4 i386
 .Os
 .Sh NAME
@@ -50,6 +50,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_vx_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/man4.powerpc/bm.4
==============================================================================
--- stable/11/share/man/man4/man4.powerpc/bm.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/man4.powerpc/bm.4	Sat May 18 20:43:13 2019	(r347962)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 3, 2008
+.Dd October 24, 2018
 .Dt BM 4
 .Os
 .Sh NAME
@@ -46,6 +46,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_bm_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/pcn.4
==============================================================================
--- stable/11/share/man/man4/pcn.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/pcn.4	Sat May 18 20:43:13 2019	(r347962)
@@ -31,7 +31,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 31, 2006
+.Dd October 24, 2018
 .Dt PCN 4
 .Os
 .Sh NAME
@@ -52,6 +52,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_pcn_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/sf.4
==============================================================================
--- stable/11/share/man/man4/sf.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/sf.4	Sat May 18 20:43:13 2019	(r347962)
@@ -30,7 +30,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 21, 2008
+.Dd October 24, 2018
 .Dt SF 4
 .Os
 .Sh NAME
@@ -53,6 +53,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_sf_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/sn.4
==============================================================================
--- stable/11/share/man/man4/sn.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/sn.4	Sat May 18 20:43:13 2019	(r347962)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 16, 2005
+.Dd October 24, 2018
 .Dt SN 4
 .Os
 .Sh NAME
@@ -44,6 +44,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_sn_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/tl.4
==============================================================================
--- stable/11/share/man/man4/tl.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/tl.4	Sat May 18 20:43:13 2019	(r347962)
@@ -30,7 +30,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 16, 2005
+.Dd October 24, 2018
 .Dt TL 4
 .Os
 .Sh NAME
@@ -51,6 +51,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_tl_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/tx.4
==============================================================================
--- stable/11/share/man/man4/tx.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/tx.4	Sat May 18 20:43:13 2019	(r347962)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 16, 2005
+.Dd October 24, 2018
 .Dt TX 4
 .Os
 .Sh NAME
@@ -46,6 +46,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_tx_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/txp.4
==============================================================================
--- stable/11/share/man/man4/txp.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/txp.4	Sat May 18 20:43:13 2019	(r347962)
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 26, 2012
+.Dd October 24, 2018
 .Dt TXP 4
 .Os
 .Sh NAME
@@ -46,6 +46,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_txp_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/wb.4
==============================================================================
--- stable/11/share/man/man4/wb.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/wb.4	Sat May 18 20:43:13 2019	(r347962)
@@ -30,7 +30,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 16, 2005
+.Dd October 24, 2018
 .Dt WB 4
 .Os
 .Sh NAME
@@ -51,6 +51,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_wb_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/share/man/man4/xe.4
==============================================================================
--- stable/11/share/man/man4/xe.4	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/share/man/man4/xe.4	Sat May 18 20:43:13 2019	(r347962)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 16, 2005
+.Dd October 24 2018
 .Dt XE 4
 .Os
 .Sh NAME
@@ -45,6 +45,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_xe_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/sys/dev/bm/if_bm.c
==============================================================================
--- stable/11/sys/dev/bm/if_bm.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/bm/if_bm.c	Sat May 18 20:43:13 2019	(r347962)
@@ -481,6 +481,8 @@ bm_attach(device_t dev)
 	ether_ifattach(ifp, sc->sc_enaddr);
 	ifp->if_hwassist = 0;
 
+	gone_by_fcp101_dev(dev);
+
 	return (0);
 }
 

Modified: stable/11/sys/dev/cs/if_cs.c
==============================================================================
--- stable/11/sys/dev/cs/if_cs.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/cs/if_cs.c	Sat May 18 20:43:13 2019	(r347962)
@@ -572,6 +572,8 @@ cs_attach(device_t dev)
 		return (error);
 	}
 
+	gone_by_fcp101_dev(dev);
+
 	return (0);
 }
 

Modified: stable/11/sys/dev/de/if_de.c
==============================================================================
--- stable/11/sys/dev/de/if_de.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/de/if_de.c	Sat May 18 20:43:13 2019	(r347962)
@@ -4430,6 +4430,8 @@ tulip_attach(tulip_softc_t * const sc)
     TULIP_LOCK(sc);
     sc->tulip_flags &= ~TULIP_DEVICEPROBE;
     TULIP_UNLOCK(sc);
+
+    gone_by_fcp101_dev(sc->tulip_dev);
 }
 
 /* Release memory for a single descriptor ring. */

Modified: stable/11/sys/dev/ed/if_ed.c
==============================================================================
--- stable/11/sys/dev/ed/if_ed.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/ed/if_ed.c	Sat May 18 20:43:13 2019	(r347962)
@@ -363,6 +363,9 @@ ed_attach(device_t dev)
 #endif
 		printf("\n");
 	}
+
+	gone_by_fcp101_dev(dev);
+
 	return (0);
 }
 

Modified: stable/11/sys/dev/ep/if_ep.c
==============================================================================
--- stable/11/sys/dev/ep/if_ep.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/ep/if_ep.c	Sat May 18 20:43:13 2019	(r347962)
@@ -348,6 +348,8 @@ ep_attach(struct ep_softc *sc)
 	epstop(sc);
 	EP_UNLOCK(sc);
 
+	gone_by_fcp101_dev(sc->dev);
+
 	return (0);
 }
 

Modified: stable/11/sys/dev/ex/if_ex.c
==============================================================================
--- stable/11/sys/dev/ex/if_ex.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/ex/if_ex.c	Sat May 18 20:43:13 2019	(r347962)
@@ -274,6 +274,8 @@ ex_attach(device_t dev)
 		return (error);
 	}
 
+	gone_by_fcp101_dev(dev);
+
 	return(0);
 }
 

Modified: stable/11/sys/dev/fe/if_fe.c
==============================================================================
--- stable/11/sys/dev/fe/if_fe.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/fe/if_fe.c	Sat May 18 20:43:13 2019	(r347962)
@@ -870,6 +870,8 @@ fe_attach (device_t dev)
 	if (sc->stability & UNSTABLE_TYPE)
 		device_printf(dev, "warning: hardware type was not validated\n");
 
+	gone_by_fcp101_dev(dev);
+
 	return 0;
 }
 

Modified: stable/11/sys/dev/pcn/if_pcn.c
==============================================================================
--- stable/11/sys/dev/pcn/if_pcn.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/pcn/if_pcn.c	Sat May 18 20:43:13 2019	(r347962)
@@ -680,6 +680,8 @@ fail:
 	if (error)
 		pcn_detach(dev);
 
+	gone_by_fcp101_dev(dev);
+
 	return(error);
 }
 

Modified: stable/11/sys/dev/sf/if_sf.c
==============================================================================
--- stable/11/sys/dev/sf/if_sf.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/sf/if_sf.c	Sat May 18 20:43:13 2019	(r347962)
@@ -914,6 +914,8 @@ sf_attach(device_t dev)
 		goto fail;
 	}
 
+	gone_by_fcp101_dev(dev);
+
 fail:
 	if (error)
 		sf_detach(dev);

Modified: stable/11/sys/dev/sn/if_sn.c
==============================================================================
--- stable/11/sys/dev/sn/if_sn.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/sn/if_sn.c	Sat May 18 20:43:13 2019	(r347962)
@@ -225,6 +225,9 @@ sn_attach(device_t dev)
 		sn_detach(dev);
 		return err;
 	}
+
+	gone_by_fcp101_dev(dev);
+
 	return 0;
 }
 

Modified: stable/11/sys/dev/tl/if_tl.c
==============================================================================
--- stable/11/sys/dev/tl/if_tl.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/tl/if_tl.c	Sat May 18 20:43:13 2019	(r347962)
@@ -1239,6 +1239,8 @@ tl_attach(dev)
 		goto fail;
 	}
 
+	gone_by_fcp101_dev(dev);
+
 fail:
 	if (error)
 		tl_detach(dev);

Modified: stable/11/sys/dev/tx/if_tx.c
==============================================================================
--- stable/11/sys/dev/tx/if_tx.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/tx/if_tx.c	Sat May 18 20:43:13 2019	(r347962)
@@ -426,6 +426,8 @@ epic_attach(device_t dev)
 		goto fail;
 	}
 
+	gone_by_fcp101_dev(dev);
+
 	return (0);
 fail:
 	epic_release(sc);

Modified: stable/11/sys/dev/txp/if_txp.c
==============================================================================
--- stable/11/sys/dev/txp/if_txp.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/txp/if_txp.c	Sat May 18 20:43:13 2019	(r347962)
@@ -471,6 +471,8 @@ txp_attach(device_t dev)
 		goto fail;
 	}
 
+	gone_by_fcp101_dev(dev);
+
 	return (0);
 
 fail:

Modified: stable/11/sys/dev/vx/if_vx.c
==============================================================================
--- stable/11/sys/dev/vx/if_vx.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/vx/if_vx.c	Sat May 18 20:43:13 2019	(r347962)
@@ -204,6 +204,8 @@ vx_attach(device_t dev)
 	vx_stop(sc);
 	VX_UNLOCK(sc);
 
+	gone_by_fcp101_dev(dev);
+
 	return 1;
 }
 

Modified: stable/11/sys/dev/wb/if_wb.c
==============================================================================
--- stable/11/sys/dev/wb/if_wb.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/wb/if_wb.c	Sat May 18 20:43:13 2019	(r347962)
@@ -692,6 +692,8 @@ wb_attach(dev)
 		goto fail;
 	}
 
+	gone_by_fcp101_dev(dev);
+
 fail:
 	if (error)
 		wb_detach(dev);

Modified: stable/11/sys/dev/xe/if_xe.c
==============================================================================
--- stable/11/sys/dev/xe/if_xe.c	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/dev/xe/if_xe.c	Sat May 18 20:43:13 2019	(r347962)
@@ -315,6 +315,8 @@ xe_attach(device_t dev)
 		return (err);
 	}
 
+	gone_by_fcp101_dev(dev);
+
 	/* Done */
 	return (0);
 }

Modified: stable/11/sys/sys/systm.h
==============================================================================
--- stable/11/sys/sys/systm.h	Sat May 18 19:36:23 2019	(r347961)
+++ stable/11/sys/sys/systm.h	Sat May 18 20:43:13 2019	(r347962)
@@ -482,6 +482,9 @@ void _gone_in_dev(struct device *dev, int major, const
 #endif
 #define gone_in(major, msg)		__gone_ok(major, msg) _gone_in(major, msg)
 #define gone_in_dev(dev, major, msg)	__gone_ok(major, msg) _gone_in_dev(dev, major, msg)
+#define	gone_by_fcp101_dev(dev)						\
+	gone_in_dev((dev), 13,						\
+	    "see https://github.com/freebsd/fcp/blob/master/fcp-0101.md")
 
 __NULLABILITY_PRAGMA_POP
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905182043.x4IKhDdD038241>