Index: head/share/man/man4/ndis.4 =================================================================== --- head/share/man/man4/ndis.4 +++ head/share/man/man4/ndis.4 @@ -121,7 +121,7 @@ .Xr sysctl 8 command. .Sh DEPRECATION NOTICE -The PC Card attachment of this driver is scheduled for removal prior to the release of +This driver is scheduled for removal prior to the release of .Fx 13.0 .Sh DIAGNOSTICS .Bl -diag Index: head/sys/dev/if_ndis/if_ndis_pccard.c =================================================================== --- head/sys/dev/if_ndis/if_ndis_pccard.c +++ head/sys/dev/if_ndis/if_ndis_pccard.c @@ -304,7 +304,7 @@ error = ndis_attach(dev); if (error == 0) - gone_in_dev(dev, 13, "pccard removed"); + gone_in_dev(dev, 13, "ndis removed"); fail: return(error); Index: head/sys/dev/if_ndis/if_ndis_pci.c =================================================================== --- head/sys/dev/if_ndis/if_ndis_pci.c +++ head/sys/dev/if_ndis/if_ndis_pci.c @@ -337,6 +337,9 @@ sc->ndis_devidx = devidx; error = ndis_attach(dev); + if (error == 0) + gone_in_dev(dev, 13, "ndis removed"); + fail: return(error); Index: head/sys/dev/if_ndis/if_ndis_usb.c =================================================================== --- head/sys/dev/if_ndis/if_ndis_usb.c +++ head/sys/dev/if_ndis/if_ndis_usb.c @@ -199,6 +199,8 @@ if (ndis_attach(self) != 0) return (ENXIO); + gone_in_dev(self, 13, "ndis removed"); + return (0); }