aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-06-07 16:45:58 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-06-11 19:17:34 +0000
commitab30bb8270fa99503a0f204543a9ac3e3c7fa04d (patch)
tree993e5f1974604ba80592f35b9e1583dd184e1fe4
parentcb25a9455802de29a3609f34bef9e94af842b890 (diff)
downloadsrc-ab30bb8270fa99503a0f204543a9ac3e3c7fa04d.tar.gz
src-ab30bb8270fa99503a0f204543a9ac3e3c7fa04d.zip
an: Deprecate the driver
Last an(4) devices have been End Of Life and End Of Sale in 2007. Time to remove this driver. Differential Revision: https://reviews.freebsd.org/D30678 Reviewed by: imp (earlier version), adrian (earlier version) MFC after: 3 days Sponsored by: Diablotin Systems
-rw-r--r--share/man/man4/an.45
-rw-r--r--sys/dev/an/if_an.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man4/an.4 b/share/man/man4/an.4
index aaa761a36b4d..1d624c0ae108 100644
--- a/share/man/man4/an.4
+++ b/share/man/man4/an.4
@@ -130,6 +130,11 @@ The
.Nm
device driver first appeared in
.Fx 4.0 .
+.Pp
+The
+.Nm
+device driver was removed in
+.Fx 14.0 .
.Sh AUTHORS
The
.Nm
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index 205514bf0765..3a4db28f3eac 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -661,6 +661,7 @@ an_attach(struct an_softc *sc, int flags)
int i, nrate, mword;
u_int8_t r;
+ gone_in(14, "EOL/EOS in 2007");
ifp = sc->an_ifp = if_alloc(IFT_ETHER);
if (ifp == NULL) {
device_printf(sc->an_dev, "can not if_alloc()\n");