git: 84019c6c0052 - stable/13 - oce(4): deprecate
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Jul 2023 20:44:56 UTC
The branch stable/13 has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=84019c6c005255851bdb7f5e71ad0da3d50ce0f1
commit 84019c6c005255851bdb7f5e71ad0da3d50ce0f1
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-06-14 17:55:54 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-07-20 20:41:18 +0000
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
(cherry picked from commit 4591322980a37d6ee38a3ed70569366e16ca71f6)
---
share/man/man4/oce.4 | 8 +++++++-
sys/dev/oce/oce_if.c | 2 ++
2 files changed, 9 insertions(+), 1 deletion(-)
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 2d089344e844..3385546cf1a6 100644
--- a/sys/dev/oce/oce_if.c
+++ b/sys/dev/oce/oce_if.c
@@ -375,6 +375,8 @@ oce_attach(device_t dev)
}
softc_tail = sc;
+ gone_in_dev(dev, 15, "relatively uncommon 10GbE NIC");
+
return 0;
stats_free: