svn commit: r336976 - in stable/11: share/man/man4 sys/dev/jedec_ts

Ravi Pokala rpokala at FreeBSD.org
Tue Jul 31 16:08:40 UTC 2018


Author: rpokala
Date: Tue Jul 31 16:08:38 2018
New Revision: 336976
URL: https://svnweb.freebsd.org/changeset/base/336976

Log:
  MFC r336662,r336682
  
  r336662: Deprecate jedec_ts(4) and point users to jedec_dimm(4) instead
  
  jedec_dimm(4) is a superset of the functionality of jedec_ts(4). Mark
  jedec_ts(4) as removed in FreeBSD 12, and include a pointer to the migration
  instructions in the jedec_dimm(4) manpage, in both the jedec_ts(4) code and
  the jedec_ts(4) manpage. Add a note to the jedec_dimm(4) manpage about the
  fact that it is a superset of jedec_ts(4).
  
  r336682: Update .Dd in light of r336662.

Modified:
  stable/11/share/man/man4/jedec_dimm.4
  stable/11/share/man/man4/jedec_ts.4
  stable/11/sys/dev/jedec_ts/jedec_ts.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/share/man/man4/jedec_dimm.4
==============================================================================
--- stable/11/share/man/man4/jedec_dimm.4	Tue Jul 31 16:08:17 2018	(r336975)
+++ stable/11/share/man/man4/jedec_dimm.4	Tue Jul 31 16:08:38 2018	(r336976)
@@ -27,7 +27,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 22, 2018
+.Dd July 24, 2018
 .Dt JEDEC_DIMM 4
 .Os
 .Sh NAME
@@ -163,6 +163,9 @@ dev.jedec_dimm.6.temp: 43.1C
 dev.jedec_dimm.6.type: DDR4
 .Ed
 .Sh COMPATIBILITY
+.Nm
+implements a superset of the functionality of
+.Xr jedec_ts 4 .
 Hints for
 .Xr jedec_ts 4
 can be mechanically converted for use with

Modified: stable/11/share/man/man4/jedec_ts.4
==============================================================================
--- stable/11/share/man/man4/jedec_ts.4	Tue Jul 31 16:08:17 2018	(r336975)
+++ stable/11/share/man/man4/jedec_ts.4	Tue Jul 31 16:08:38 2018	(r336976)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 9, 2017
+.Dd July 24, 2018
 .Dt JEDEC_TS 4
 .Os
 .Sh NAME
@@ -63,6 +63,18 @@ In
 .Cd hint.jedec_ts.7.at="smbus0"
 .Cd hint.jedec_ts.7.addr="0x3E"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 12.0
+and later.
+A superset of its functionality is available in the
+.Xr jedec_dimm 4
+driver.
+That driver's manpage includes instructions on updating
+.Pa /boot/device.hints
+accordingly.
 .Sh DESCRIPTION
 The
 .Nm

Modified: stable/11/sys/dev/jedec_ts/jedec_ts.c
==============================================================================
--- stable/11/sys/dev/jedec_ts/jedec_ts.c	Tue Jul 31 16:08:17 2018	(r336975)
+++ stable/11/sys/dev/jedec_ts/jedec_ts.c	Tue Jul 31 16:08:38 2018	(r336976)
@@ -247,6 +247,9 @@ ts_attach(device_t dev)
 	    CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE, dev, 0,
 	    ts_temp_sysctl, "IK4", "Current temperature");
 
+	gone_in_dev(dev, 12,
+	    "jedec_ts(4) driver; see COMPATIBILITY section of jedec_dimm(4)");
+
 	return (0);
 }
 


More information about the svn-src-stable mailing list