Index: share/man/man4/ae.4 =================================================================== --- share/man/man4/ae.4 +++ share/man/man4/ae.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 4, 2008 +.Dd October 24, 2018 .Dt AE 4 .Os .Sh NAME @@ -44,6 +44,14 @@ .Bd -literal -offset indent if_ae_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 Index: share/man/man4/de.4 =================================================================== --- share/man/man4/de.4 +++ share/man/man4/de.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 16, 2005 +.Dd October 24, 2018 .Dt DE 4 .Os .Sh NAME @@ -45,6 +45,14 @@ .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 Index: share/man/man4/ed.4 =================================================================== --- share/man/man4/ed.4 +++ share/man/man4/ed.4 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 25, 2012 +.Dd October 24, 2018 .Dt ED 4 .Os .Sh NAME @@ -51,6 +51,14 @@ .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 Index: share/man/man4/man4.i386/cs.4 =================================================================== --- share/man/man4/man4.i386/cs.4 +++ share/man/man4/man4.i386/cs.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 16, 2005 +.Dd October 24 2018 .Dt CS 4 i386 .Os .Sh NAME @@ -52,6 +52,14 @@ .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 Index: share/man/man4/man4.i386/ep.4 =================================================================== --- share/man/man4/man4.i386/ep.4 +++ share/man/man4/man4.i386/ep.4 @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 1, 2011 +.Dd October 24, 2018 .Dt EP 4 i386 .Os .Sh NAME @@ -49,6 +49,14 @@ .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 Index: share/man/man4/man4.i386/ex.4 =================================================================== --- share/man/man4/man4.i386/ex.4 +++ share/man/man4/man4.i386/ex.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 16, 2005 +.Dd October 24, 2018 .Dt EX 4 i386 .Os .Sh NAME @@ -45,6 +45,14 @@ .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 Index: share/man/man4/man4.i386/fe.4 =================================================================== --- share/man/man4/man4.i386/fe.4 +++ share/man/man4/man4.i386/fe.4 @@ -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 @@ .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 Index: share/man/man4/man4.i386/vx.4 =================================================================== --- share/man/man4/man4.i386/vx.4 +++ share/man/man4/man4.i386/vx.4 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 15, 2017 +.Dd October 24, 2018 .Dt VX 4 i386 .Os .Sh NAME @@ -50,6 +50,14 @@ .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 Index: share/man/man4/man4.powerpc/bm.4 =================================================================== --- share/man/man4/man4.powerpc/bm.4 +++ share/man/man4/man4.powerpc/bm.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 3, 2008 +.Dd October 24, 2018 .Dt BM 4 .Os .Sh NAME @@ -46,6 +46,14 @@ .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 Index: share/man/man4/pcn.4 =================================================================== --- share/man/man4/pcn.4 +++ share/man/man4/pcn.4 @@ -31,7 +31,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 31, 2006 +.Dd October 24, 2018 .Dt PCN 4 .Os .Sh NAME @@ -52,6 +52,14 @@ .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 Index: share/man/man4/sf.4 =================================================================== --- share/man/man4/sf.4 +++ share/man/man4/sf.4 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 21, 2008 +.Dd October 24, 2018 .Dt SF 4 .Os .Sh NAME @@ -53,6 +53,14 @@ .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 Index: share/man/man4/sn.4 =================================================================== --- share/man/man4/sn.4 +++ share/man/man4/sn.4 @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 16, 2005 +.Dd October 24, 2018 .Dt SN 4 .Os .Sh NAME @@ -43,6 +43,14 @@ .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 Index: share/man/man4/tl.4 =================================================================== --- share/man/man4/tl.4 +++ share/man/man4/tl.4 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 16, 2005 +.Dd October 24, 2018 .Dt TL 4 .Os .Sh NAME @@ -51,6 +51,14 @@ .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 Index: share/man/man4/tx.4 =================================================================== --- share/man/man4/tx.4 +++ share/man/man4/tx.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 16, 2005 +.Dd October 24, 2018 .Dt TX 4 .Os .Sh NAME @@ -46,6 +46,14 @@ .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 Index: share/man/man4/txp.4 =================================================================== --- share/man/man4/txp.4 +++ share/man/man4/txp.4 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 26, 2012 +.Dd October 24, 2018 .Dt TXP 4 .Os .Sh NAME @@ -46,6 +46,14 @@ .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 Index: share/man/man4/wb.4 =================================================================== --- share/man/man4/wb.4 +++ share/man/man4/wb.4 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 16, 2005 +.Dd October 24, 2018 .Dt WB 4 .Os .Sh NAME @@ -51,6 +51,14 @@ .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 Index: share/man/man4/xe.4 =================================================================== --- share/man/man4/xe.4 +++ share/man/man4/xe.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 16, 2005 +.Dd October 24 2018 .Dt XE 4 .Os .Sh NAME @@ -45,6 +45,14 @@ .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 Index: sys/dev/ae/if_ae.c =================================================================== --- sys/dev/ae/if_ae.c +++ sys/dev/ae/if_ae.c @@ -396,6 +396,8 @@ goto fail; } + gone_by_fcp101_dev(dev); + fail: if (error != 0) ae_detach(dev); Index: sys/dev/bm/if_bm.c =================================================================== --- sys/dev/bm/if_bm.c +++ sys/dev/bm/if_bm.c @@ -483,6 +483,8 @@ ether_ifattach(ifp, sc->sc_enaddr); ifp->if_hwassist = 0; + gone_by_fcp101_dev(dev); + return (0); } Index: sys/dev/cs/if_cs.c =================================================================== --- sys/dev/cs/if_cs.c +++ sys/dev/cs/if_cs.c @@ -574,6 +574,8 @@ return (error); } + gone_by_fcp101_dev(dev); + return (0); } Index: sys/dev/de/if_de.c =================================================================== --- sys/dev/de/if_de.c +++ sys/dev/de/if_de.c @@ -4432,6 +4432,8 @@ 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. */ Index: sys/dev/dme/if_dme.c =================================================================== --- sys/dev/dme/if_dme.c +++ sys/dev/dme/if_dme.c @@ -915,6 +915,9 @@ ether_ifdetach(ifp); goto fail; } + + gone_by_fcp101_dev(dev); + fail: if (error != 0) dme_detach(dev); Index: sys/dev/ed/if_ed.c =================================================================== --- sys/dev/ed/if_ed.c +++ sys/dev/ed/if_ed.c @@ -365,6 +365,9 @@ #endif printf("\n"); } + + gone_by_fcp101_dev(dev); + return (0); } Index: sys/dev/ep/if_ep.c =================================================================== --- sys/dev/ep/if_ep.c +++ sys/dev/ep/if_ep.c @@ -350,6 +350,8 @@ epstop(sc); EP_UNLOCK(sc); + gone_by_fcp101_dev(sc->dev); + return (0); } Index: sys/dev/ex/if_ex.c =================================================================== --- sys/dev/ex/if_ex.c +++ sys/dev/ex/if_ex.c @@ -276,6 +276,8 @@ return (error); } + gone_by_fcp101_dev(dev); + return(0); } Index: sys/dev/fe/if_fe.c =================================================================== --- sys/dev/fe/if_fe.c +++ sys/dev/fe/if_fe.c @@ -861,6 +861,8 @@ if (sc->stability & UNSTABLE_TYPE) device_printf(dev, "warning: hardware type was not validated\n"); + gone_by_fcp101_dev(dev); + return 0; } Index: sys/dev/pcn/if_pcn.c =================================================================== --- sys/dev/pcn/if_pcn.c +++ sys/dev/pcn/if_pcn.c @@ -684,6 +684,8 @@ if (error) pcn_detach(dev); + gone_by_fcp101_dev(dev); + return(error); } Index: sys/dev/sf/if_sf.c =================================================================== --- sys/dev/sf/if_sf.c +++ sys/dev/sf/if_sf.c @@ -917,6 +917,8 @@ goto fail; } + gone_by_fcp101_dev(dev); + fail: if (error) sf_detach(dev); Index: sys/dev/sn/if_sn.c =================================================================== --- sys/dev/sn/if_sn.c +++ sys/dev/sn/if_sn.c @@ -227,6 +227,9 @@ sn_detach(dev); return err; } + + gone_by_fcp101_dev(dev); + return 0; } Index: sys/dev/tl/if_tl.c =================================================================== --- sys/dev/tl/if_tl.c +++ sys/dev/tl/if_tl.c @@ -1242,6 +1242,8 @@ goto fail; } + gone_by_fcp101_dev(dev); + fail: if (error) tl_detach(dev); Index: sys/dev/tx/if_tx.c =================================================================== --- sys/dev/tx/if_tx.c +++ sys/dev/tx/if_tx.c @@ -428,6 +428,8 @@ goto fail; } + gone_by_fcp101_dev(dev); + return (0); fail: epic_release(sc); Index: sys/dev/txp/if_txp.c =================================================================== --- sys/dev/txp/if_txp.c +++ sys/dev/txp/if_txp.c @@ -472,6 +472,8 @@ goto fail; } + gone_by_fcp101_dev(dev); + return (0); fail: Index: sys/dev/vx/if_vx.c =================================================================== --- sys/dev/vx/if_vx.c +++ sys/dev/vx/if_vx.c @@ -206,6 +206,8 @@ vx_stop(sc); VX_UNLOCK(sc); + gone_by_fcp101_dev(dev); + return 1; } Index: sys/dev/wb/if_wb.c =================================================================== --- sys/dev/wb/if_wb.c +++ sys/dev/wb/if_wb.c @@ -694,6 +694,8 @@ goto fail; } + gone_by_fcp101_dev(dev); + fail: if (error) wb_detach(dev); Index: sys/dev/xe/if_xe.c =================================================================== --- sys/dev/xe/if_xe.c +++ sys/dev/xe/if_xe.c @@ -317,6 +317,8 @@ return (err); } + gone_by_fcp101_dev(dev); + /* Done */ return (0); } Index: sys/sys/systm.h =================================================================== --- sys/sys/systm.h +++ sys/sys/systm.h @@ -542,6 +542,9 @@ #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