aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2023-06-14 17:55:54 +0000
committerBrooks Davis <brooks@FreeBSD.org>2023-06-15 16:35:12 +0000
commit4591322980a37d6ee38a3ed70569366e16ca71f6 (patch)
treefceeed7858fcd3f235fcd9bee70a30cb0094a190
parent758927a982db0ae3ebb02c05aec8a53bcc0c20cb (diff)
downloadsrc-4591322980a37d6ee38a3ed70569366e16ca71f6.tar.gz
src-4591322980a37d6ee38a3ed70569366e16ca71f6.zip
oce(4): deprecate
The Emulex OneConnect NIC driver hasn't seen any commits other than ioctl bug fixes (some severe) and sweeping commits since 2016. There is no indication of new parts since 2014 or earlier. As such, deprecate the driver with the aim of removing it prior to FreeBSD 15. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40531
-rw-r--r--share/man/man4/oce.48
-rw-r--r--sys/dev/oce/oce_if.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man4/oce.4 b/share/man/man4/oce.4
index c5022833e8b5..4dfa8e15aaaf 100644
--- a/share/man/man4/oce.4
+++ b/share/man/man4/oce.4
@@ -36,7 +36,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 19, 2012
+.Dd June 13, 2023
.Dt OCE 4
.Os
.Sh NAME
@@ -57,6 +57,12 @@ module at boot time, place the following line in
.Bd -literal -offset indent
if_oce_load="YES"
.Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver may not be present in
+.Fx 15.0
+and later.
.Sh DESCRIPTION
Emulex OneConnect adapters come in various skews and with
different combinations of NIC, FCoE and iSCSI functions.
diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c
index bde7bf9b208a..2f0727871ba1 100644
--- a/sys/dev/oce/oce_if.c
+++ b/sys/dev/oce/oce_if.c
@@ -374,6 +374,8 @@ oce_attach(device_t dev)
}
softc_tail = sc;
+ gone_in_dev(dev, 15, "relatively uncommon 10GbE NIC");
+
return 0;
stats_free: