Author: rpokala Date: Tue Jul 24 08:15:02 2018 New Revision: 336662 URL: https://svnweb.freebsd.org/changeset/base/336662
Log: 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 Modified: head/share/man/man4/jedec_dimm.4 head/share/man/man4/jedec_ts.4 head/sys/dev/jedec_ts/jedec_ts.c Modified: head/share/man/man4/jedec_dimm.4 ============================================================================== --- head/share/man/man4/jedec_dimm.4 Tue Jul 24 05:09:50 2018 (r336661) +++ head/share/man/man4/jedec_dimm.4 Tue Jul 24 08:15:02 2018 (r336662) @@ -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: head/share/man/man4/jedec_ts.4 ============================================================================== --- head/share/man/man4/jedec_ts.4 Tue Jul 24 05:09:50 2018 (r336661) +++ head/share/man/man4/jedec_ts.4 Tue Jul 24 08:15:02 2018 (r336662) @@ -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: head/sys/dev/jedec_ts/jedec_ts.c ============================================================================== --- head/sys/dev/jedec_ts/jedec_ts.c Tue Jul 24 05:09:50 2018 (r336661) +++ head/sys/dev/jedec_ts/jedec_ts.c Tue Jul 24 08:15:02 2018 (r336662) @@ -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); } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"