svn commit: r357788 - in head: share/man/man4 sys/dev/hme

Brooks Davis brooks at FreeBSD.org
Wed Feb 12 00:58:18 UTC 2020


Author: brooks
Date: Wed Feb 12 00:58:17 2020
New Revision: 357788
URL: https://svnweb.freebsd.org/changeset/base/357788

Log:
  Mark hme(4) as deprecated.
  
  It was saved from the initial purge of drivers in fcp-101 due to being
  the onboard Ethernet device on a number of sparc64 machines.  Now that
  sparc64 is gone, it serves little purpose (PCI cards exist, but are rare
  and are unlikely to have been deployed outside Sun systems).
  
  MFC after:	3 days

Modified:
  head/share/man/man4/hme.4
  head/sys/dev/hme/if_hme.c

Modified: head/share/man/man4/hme.4
==============================================================================
--- head/share/man/man4/hme.4	Wed Feb 12 00:46:33 2020	(r357787)
+++ head/share/man/man4/hme.4	Wed Feb 12 00:58:17 2020	(r357788)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd June 14, 2009
+.Dd February 12, 2020
 .Dt HME 4
 .Os
 .Sh NAME
@@ -50,6 +50,14 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 if_hme_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
+See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
+information.
 .Sh DESCRIPTION
 The
 .Nm

Modified: head/sys/dev/hme/if_hme.c
==============================================================================
--- head/sys/dev/hme/if_hme.c	Wed Feb 12 00:46:33 2020	(r357787)
+++ head/sys/dev/hme/if_hme.c	Wed Feb 12 00:58:17 2020	(r357788)
@@ -373,6 +373,8 @@ hme_config(struct hme_softc *sc)
 	ifp->if_capabilities |= IFCAP_VLAN_MTU | IFCAP_HWCSUM;
 	ifp->if_hwassist |= sc->sc_csum_features;
 	ifp->if_capenable |= IFCAP_VLAN_MTU | IFCAP_HWCSUM;
+
+	gone_in_dev(sc->sc_dev, 13, "10/100 NIC almost exclusively for sparc64");
 	return (0);
 
 fail_txdesc:


More information about the svn-src-all mailing list