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).

This change will be MFCed to stable/11 and stable/10; the followup change
to actually remove jedec_ts(4) from -HEAD will not.

Reviewed by:	avg
MFC after:	1 week
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D16412
This commit is contained in:
Ravi Pokala 2018-07-24 08:15:02 +00:00
parent 68232f2053
commit f9027e3a3a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336662
3 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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);
}