From a7cfd0bd3bb1eb3d016e3ed5155fbad0f443720c Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 18 Apr 2020 02:52:59 +0000 Subject: [PATCH] Add deprecation notice for esp(4). --- share/man/man4/esp.4 | 7 ++++++- sys/dev/esp/ncr53c9x.c | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/share/man/man4/esp.4 b/share/man/man4/esp.4 index 74676f8f03f9..0057e128f4c8 100644 --- a/share/man/man4/esp.4 +++ b/share/man/man4/esp.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 1, 2011 +.Dd March 10, 2020 .Dt ESP 4 .Os .Sh NAME @@ -45,6 +45,11 @@ following line in .Bd -literal -offset indent if_esp_load="YES" .Ed +.Sh DEPRECATION NOTICE +The +.Nm +driver is not present in +.Fx 13.0 . .Sh DESCRIPTION The .Nm diff --git a/sys/dev/esp/ncr53c9x.c b/sys/dev/esp/ncr53c9x.c index 98d40ce70697..35ce9a4dbf2c 100644 --- a/sys/dev/esp/ncr53c9x.c +++ b/sys/dev/esp/ncr53c9x.c @@ -402,6 +402,7 @@ ncr53c9x_attach(struct ncr53c9x_softc *sc) NCR_UNLOCK(sc); + gone_in_dev(sc->sc_dev, 13, "esp(4) driver"); return (0); fail_async: