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);
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to