-----Original Message-----
From: <owner-src-committ...@freebsd.org> on behalf of John Baldwin 
<j...@freebsd.org>
Date: 2018-08-21, Tuesday at 22:56
To: Matthew Macy <mm...@freebsd.org>, <rgri...@freebsd.org>
Cc: src-committers <src-committ...@freebsd.org>, <svn-src-all@freebsd.org>, 
<svn-src-h...@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...

>> On 8/22/18 3:44 AM, Matthew Macy wrote:
>>
>>> Could you please create a stable/11 deprecation change.
>> 
>> What does that entail other than an update to UPDATING in stable/11?
> 
> 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
| ===================================================================
| --- 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");
|  
| +     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@)

> -- 
> John Baldwin



_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to