From nobody Thu Jun 15 16:35:39 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QhnwC5m8Kz4fQD4; Thu, 15 Jun 2023 16:35:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QhnwC4y3vz4F2D; Thu, 15 Jun 2023 16:35:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686846939; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=98XG9LySF9BZ/E/q93suhasnVc3Thprb9XglWIrFTWY=; b=WCGkRYLo67Rld4Makmu8gmUdxViaJgK3uBEnwrvhsciLZ6t65XHjIBnHb6TSNKsOz3ozCa t+JPawxH0b1Jkj32GwwVQshA5n8IbfHez4bBIWlgQb6Vrb+ZaL79mSZOd1PmL6V9umeCDw e59461AGowvQZ3GRInmNp5v/KDExOd0CefhMwZXMvUc3rgPLakv/FZBoOArOBwkvqL7JH0 iYRSkTg3HLpumTU5lhT3gGYdTx8R49ucOhuzoEaEEvyDOAvYpelquyqKnRa/Lyg16KsU94 Uv33VKdQbrB6bIJOdsWyugGZtEFx+EfND9BIQN60BsIJ5/yexLJL0nYCqgl+mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686846939; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=98XG9LySF9BZ/E/q93suhasnVc3Thprb9XglWIrFTWY=; b=jNxmzKpLcynGAU4HU+rfd8CEJju1Jjm4D69nGzlvPan8gHGukiMwoOhO+Mt/qrMpPG4nIh uRNVbg1NkhHV+LLWusf62L58Q2tXvXZaxsbijU+rR6XzQ7doirTtro/jiFyTWUBi3Vmd55 eeFN6m8oY++31e3twAS+NaZd/LyeiOlDnfPxbOC1IfVS4Z9ydLc0zAQVBv7fSe8q1axA4I 4KpEQsku5Y/aGnwWy06qzT6eG/d2IrHo5EV8WzDRJLG9pv2+vk/Jksc6akbrHJnSKQF7nn fnIgKoPSHTiESm5iu2GKzO8xl0pj78TGbqYzEB94lPglR4hQT+bulRY+3EBEww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686846939; a=rsa-sha256; cv=none; b=YjOvdsTNXPnMCxxlH0yYNC10X8jSclxC3SwYGaKd2NVhjp2sCQkrv3C3deKzj+76LQdCK1 w+WmqW/ruF3SP2VeZ7j6N/XRohkB4012tdLbp81T5VUSf1m7kk/l1+GJd9l+cw0kkr1In3 Y8cGV/rpmVUKae5TgCFvRZ71///CkXA11mBqMqsFRMRebUV2AlGg0elJn0Zh5f1VvUukGg 9YV1KkZVPQ0gudj/VjqYLtBqkdxkPg6ehuZLcKhRTT2Z86vSFlPE6rZq5l0zfH2NV2o79r lt8Q9esI42onjFwdOr53haBAjUQ+/lizTNYA1HnJ9tnVwpwgdImoaawT6dcCEQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QhnwC3tqsztB4; Thu, 15 Jun 2023 16:35:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35FGZdqB085240; Thu, 15 Jun 2023 16:35:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35FGZds5085239; Thu, 15 Jun 2023 16:35:39 GMT (envelope-from git) Date: Thu, 15 Jun 2023 16:35:39 GMT Message-Id: <202306151635.35FGZds5085239@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 4591322980a3 - main - oce(4): deprecate List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4591322980a37d6ee38a3ed70569366e16ca71f6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=4591322980a37d6ee38a3ed70569366e16ca71f6 commit 4591322980a37d6ee38a3ed70569366e16ca71f6 Author: Brooks Davis AuthorDate: 2023-06-14 17:55:54 +0000 Commit: Brooks Davis CommitDate: 2023-06-15 16:35:12 +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 --- 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 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: