Date: Wed, 22 Aug 2018 08:54:59 -0700 From: Ravi Pokala <rpokala@freebsd.org> To: John Baldwin <jhb@FreeBSD.org>, Matthew Macy <mmacy@freebsd.org>, <rgrimes@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, <svn-src-all@freebsd.org>, <svn-src-head@freebsd.org> Subject: Re: svn commit: r338172 - in head: . sys/amd64/conf sys/dev/drm sys/dev/drm2 sys/dev/drm2/i915 sys/dev/drm2/radeon sys/dev/drm2/radeon/reg_srcs sys/dev/drm2/ttm sys/i386/conf sys/modules sys/modules/dr... Message-ID: <E31AF6CE-59BB-4F37-9301-8D607F1696F3@panasas.com> In-Reply-To: <2c4e4292-7112-e2c7-ead3-c14d1cb00c2b@FreeBSD.org> References: <201808220150.w7M1oDeA012487@repo.freebsd.org> <201808220214.w7M2Ek6c082155@pdx.rh.CN85.dnsmgr.net> <CAPrugNqFM593ytbkGRPdJVVqW62CnQ6G3eCynwwjBBgPLpYs0Q@mail.gmail.com> <2c4e4292-7112-e2c7-ead3-c14d1cb00c2b@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
=EF=BB=BF-----Original Message-----
From: <owner-src-committers@freebsd.org> on behalf of John Baldwin <jhb@Fre=
eBSD.org>
Date: 2018-08-21, Tuesday at 22:56
To: Matthew Macy <mmacy@freebsd.org>, <rgrimes@freebsd.org>
Cc: src-committers <src-committers@freebsd.org>, <svn-src-all@freebsd.org>,=
<svn-src-head@freebsd.org>
Subject: Re: svn commit: r338172 - in head: . sys/amd64/conf sys/dev/drm sy=
s/dev/drm2 sys/dev/drm2/i915 sys/dev/drm2/radeon sys/dev/drm2/radeon/reg_src=
s sys/dev/drm2/ttm sys/i386/conf sys/modules sys/modules/dr...
>> On 8/22/18 3:44 AM, Matthew Macy wrote:
>>
>>> Could you please create a stable/11 deprecation change.
>>=20
>> What does that entail other than an update to UPDATING in stable/11?
>=20
> There are helper functions such as gone_in(), etc. that you can use
> during attach, though in this case you might want to alter the message
> to point users to the port rather than just saying it has been removed.
For example, from r336976:
| Index: sys/dev/jedec_ts/jedec_ts.c
| =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
| --- sys/dev/jedec_ts/jedec_ts.c (revision 336975)
| +++ sys/dev/jedec_ts/jedec_ts.c (revision 336976)
| @@ -247,6 +247,9 @@
| CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE, dev, 0,
| ts_temp_sysctl, "IK4", "Current temperature");
| =20
| + gone_in_dev(dev, 12,
| + "jedec_ts(4) driver; see COMPATIBILITY section of jedec_dimm(4)");
| +
| return (0);
| }
So you might add
gone_in_dev(dev, 12,
"drm2(4) driver; use one of the graphics/drm-* drivers instead");
Or something along those lines.
Hope that helps,
Ravi (rpokala@)
> --=20
> John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E31AF6CE-59BB-4F37-9301-8D607F1696F3>
