From nobody Thu Jul 20 20:44:56 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 4R6Pnj1Bkdz4dVRQ; Thu, 20 Jul 2023 20:44:57 +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 4R6Pnh6xd4z3QSQ; Thu, 20 Jul 2023 20:44:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689885897; 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=3jZlZ4FZabi1UANpekMZzwBMF5/CC4E4CF3pY9QwiKk=; b=eDfhsAqMliaAkmmGH+LEZO2CdLhhb0Cj+k+ak6r600dA7iJVPST/QXZpH9ZAyUHQz1cU47 RwRGEI/KsSWjE9MhFI5sED24VlbpjM+qUnwLrNiVgdAlw0CN5EAAPn8Ivv26xUdXych5L9 cwVXP4yiUwDQSNuldujlVXgEwimB8viKE0D3sffuTYoSNvKE3wWtXdHzVDOpHBJd5/Obc3 I3V6ChG6AR7LbHy+udrZE0FtYpnifWQYiZoC1NIKBXZP5+6OGghn5EL3Gg0z59QBHJ6ul/ xGQQaeTJrICPxIuHZ7uSzIGsIhDFx0J6wzlPX9HDhAvl8w+ulnnaylSs1/MRfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689885897; 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=3jZlZ4FZabi1UANpekMZzwBMF5/CC4E4CF3pY9QwiKk=; b=LcwVnStosfb3J+pcEFayZXRfR+PB7ynht7VeIB63MTdb1Rc79eTemMtDrhi0RarnW9gVPl Lxnu3dThQ0gPYP6/cab86/cwAfBeyZVHCkRSz498ugBkD/0sg84YiMlnMONeGSu9HHIZYk HbCw47GS3RS5akC1HFO4WFNLop+rQ44GJn++gMJMJbq8F4tgMH6IvdLb/ezn0LJfcXiJ6K I50CvL7U3XAQDMYmZwPgJF2nsUttHKJVSftiPjB0DUakWiHknRjBe0nzluYm0/mao2fTja 6eL1r64jAAYcmwgP5Y2nDo4fTfxcShO32Z3zZiXL+0mi2oopYpxWYV9GZqHdzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689885897; a=rsa-sha256; cv=none; b=fyS087rHHRrBxs5eU44ZwD5zgz4ufIhUOHentggfCc6r8gKFhE2V+goh8Y4vB7lfSiY52x OEZkTSaCzD9PWh2u7ox9UTqxZFXEaZ8TEMokYLiOL44SWh1BQnt998oDO9CnzloATAQmuB bgdJiC91Q5OMKF4b2l+P565mIUKqIOu4fGi/ap13ZvT7gASNjDROEXs4kfSl+OERLB+xJ1 pySBFZCkHjzl+JsRTVQJpvz0wbu/oeI3rXiamy4z6XFY78H4EhjcVhx1I5YvmDDpaMMFMc 0GfAKHjvIOBdSW7hy5W3nHwzaxtn/iWyY+gtV8htCvqiAJpap9dJ/Czd2yod+Q== 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 4R6Pnh51hKzlZ1; Thu, 20 Jul 2023 20:44:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36KKiuiM035789; Thu, 20 Jul 2023 20:44:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36KKiuQW035788; Thu, 20 Jul 2023 20:44:56 GMT (envelope-from git) Date: Thu, 20 Jul 2023 20:44:56 GMT Message-Id: <202307202044.36KKiuQW035788@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Brooks Davis Subject: git: 84019c6c0052 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 84019c6c005255851bdb7f5e71ad0da3d50ce0f1 Auto-Submitted: auto-generated The branch stable/13 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=84019c6c005255851bdb7f5e71ad0da3d50ce0f1 commit 84019c6c005255851bdb7f5e71ad0da3d50ce0f1 Author: Brooks Davis AuthorDate: 2023-06-14 17:55:54 +0000 Commit: Brooks Davis 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: