Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2020 21:36:54 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r358084 - in stable/12: share/man/man4 sys/dev/hme
Message-ID:  <202002182136.01ILasv1080108@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Tue Feb 18 21:36:54 2020
New Revision: 358084
URL: https://svnweb.freebsd.org/changeset/base/358084

Log:
  MFC r357788:
  
  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).

Modified:
  stable/12/share/man/man4/hme.4
  stable/12/sys/dev/hme/if_hme.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/share/man/man4/hme.4
==============================================================================
--- stable/12/share/man/man4/hme.4	Tue Feb 18 21:25:17 2020	(r358083)
+++ stable/12/share/man/man4/hme.4	Tue Feb 18 21:36:54 2020	(r358084)
@@ -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: stable/12/sys/dev/hme/if_hme.c
==============================================================================
--- stable/12/sys/dev/hme/if_hme.c	Tue Feb 18 21:25:17 2020	(r358083)
+++ stable/12/sys/dev/hme/if_hme.c	Tue Feb 18 21:36:54 2020	(r358084)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002182136.01ILasv1080108>