git: ab30bb8270fa - main - an: Deprecate the driver
Emmanuel Vadot
manu at FreeBSD.org
Fri Jun 11 19:38:43 UTC 2021
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=ab30bb8270fa99503a0f204543a9ac3e3c7fa04d
commit ab30bb8270fa99503a0f204543a9ac3e3c7fa04d
Author: Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-06-07 16:45:58 +0000
Commit: Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-06-11 19:17:34 +0000
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
---
share/man/man4/an.4 | 5 +++++
sys/dev/an/if_an.c | 1 +
2 files changed, 6 insertions(+)
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");
More information about the dev-commits-src-all
mailing list