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

Ravi Pokala rpokala at freebsd.org
Wed Aug 22 15:55:03 UTC 2018


-----Original Message-----
From: <owner-src-committers at freebsd.org> on behalf of John Baldwin <jhb at FreeBSD.org>
Date: 2018-08-21, Tuesday at 22:56
To: Matthew Macy <mmacy at freebsd.org>, <rgrimes at freebsd.org>
Cc: src-committers <src-committers at freebsd.org>, <svn-src-all at freebsd.org>, <svn-src-head at 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





More information about the svn-src-head mailing list