From owner-svn-src-head@freebsd.org Wed Aug 22 15:55:03 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 972D2108CBFA; Wed, 22 Aug 2018 15:55:03 +0000 (UTC) (envelope-from rpokala@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1BFD27B15C; Wed, 22 Aug 2018 15:55:03 +0000 (UTC) (envelope-from rpokala@freebsd.org) Received: from [192.168.1.5] (c-71-198-162-232.hsd1.ca.comcast.net [71.198.162.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: rpokala) by smtp.freebsd.org (Postfix) with ESMTPSA id 499D41570F; Wed, 22 Aug 2018 15:55:02 +0000 (UTC) (envelope-from rpokala@freebsd.org) User-Agent: Microsoft-MacOutlook/10.10.0.180812 Date: Wed, 22 Aug 2018 08:54:59 -0700 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... From: Ravi Pokala To: John Baldwin , Matthew Macy , CC: src-committers , , Message-ID: Thread-Topic: 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... References: <201808220150.w7M1oDeA012487@repo.freebsd.org> <201808220214.w7M2Ek6c082155@pdx.rh.CN85.dnsmgr.net> <2c4e4292-7112-e2c7-ead3-c14d1cb00c2b@FreeBSD.org> In-Reply-To: <2c4e4292-7112-e2c7-ead3-c14d1cb00c2b@FreeBSD.org> Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: quoted-printable X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2018 15:55:03 -0000 =EF=BB=BF-----Original Message----- From: on behalf of John Baldwin Date: 2018-08-21, Tuesday at 22:56 To: Matthew Macy , Cc: src-committers , ,= 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