From owner-svn-src-all@freebsd.org Mon Dec 14 22:53:21 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1BAAB4C953C; Mon, 14 Dec 2020 22:53:21 +0000 (UTC) (envelope-from brooks@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CvxWP0GdSz4Tdh; Mon, 14 Dec 2020 22:53:21 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E5AE31912; Mon, 14 Dec 2020 22:53:20 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BEMrK9S086848; Mon, 14 Dec 2020 22:53:20 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BEMrKtC086843; Mon, 14 Dec 2020 22:53:20 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <202012142253.0BEMrKtC086843@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Mon, 14 Dec 2020 22:53:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r368650 - in stable/11: share/man/man4 sys/dev/if_ndis X-SVN-Group: stable-11 X-SVN-Commit-Author: brooks X-SVN-Commit-Paths: in stable/11: share/man/man4 sys/dev/if_ndis X-SVN-Commit-Revision: 368650 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2020 22:53:21 -0000 Author: brooks Date: Mon Dec 14 22:53:19 2020 New Revision: 368650 URL: https://svnweb.freebsd.org/changeset/base/368650 Log: MFC r368561: ndis(4): expand deprecation to the whole driver nids(4) was a clever idea in the early 2000's when the market was flooded with 10/100 NICs with Windows-only drivers, but that hasn't been the case for ages and the driver has had no meaningful maintenance in ages. It only supports Windows-XP era drivers. Reviewed by: imp, bcr Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D27527 Modified: stable/11/share/man/man4/ndis.4 stable/11/sys/dev/if_ndis/if_ndis_pccard.c stable/11/sys/dev/if_ndis/if_ndis_pci.c stable/11/sys/dev/if_ndis/if_ndis_usb.c Directory Properties: stable/11/ (props changed) Modified: stable/11/share/man/man4/ndis.4 ============================================================================== --- stable/11/share/man/man4/ndis.4 Mon Dec 14 22:52:29 2020 (r368649) +++ stable/11/share/man/man4/ndis.4 Mon Dec 14 22:53:19 2020 (r368650) @@ -120,6 +120,9 @@ driver-specific registry keys to control the media set which can be configured via the .Xr sysctl 8 command. +.Sh DEPRECATION NOTICE +This driver is scheduled for removal prior to the release of +.Fx 13.0 .Sh DIAGNOSTICS .Bl -diag .It "ndis%d: watchdog timeout" Modified: stable/11/sys/dev/if_ndis/if_ndis_pccard.c ============================================================================== --- stable/11/sys/dev/if_ndis/if_ndis_pccard.c Mon Dec 14 22:52:29 2020 (r368649) +++ stable/11/sys/dev/if_ndis/if_ndis_pccard.c Mon Dec 14 22:53:19 2020 (r368650) @@ -301,6 +301,8 @@ ndis_attach_pccard(dev) } error = ndis_attach(dev); + if (error == 0) + gone_in_dev(dev, 13, "ndis removed"); fail: return(error); Modified: stable/11/sys/dev/if_ndis/if_ndis_pci.c ============================================================================== --- stable/11/sys/dev/if_ndis/if_ndis_pci.c Mon Dec 14 22:52:29 2020 (r368649) +++ stable/11/sys/dev/if_ndis/if_ndis_pci.c Mon Dec 14 22:53:19 2020 (r368650) @@ -335,6 +335,9 @@ ndis_attach_pci(dev) sc->ndis_devidx = devidx; error = ndis_attach(dev); + if (error == 0) + gone_in_dev(dev, 13, "ndis removed"); + fail: return(error); Modified: stable/11/sys/dev/if_ndis/if_ndis_usb.c ============================================================================== --- stable/11/sys/dev/if_ndis/if_ndis_usb.c Mon Dec 14 22:52:29 2020 (r368649) +++ stable/11/sys/dev/if_ndis/if_ndis_usb.c Mon Dec 14 22:53:19 2020 (r368650) @@ -196,6 +196,8 @@ ndisusb_attach(device_t self) if (ndis_attach(self) != 0) return (ENXIO); + gone_in_dev(self, 13, "ndis removed"); + return (0); }