From owner-freebsd-stable@freebsd.org Mon Oct 3 20:06:48 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31289AF4A53 for ; Mon, 3 Oct 2016 20:06:48 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7247A648 for ; Mon, 3 Oct 2016 20:06:46 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA28922; Mon, 03 Oct 2016 23:06:45 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1br9Vc-00064n-Uo; Mon, 03 Oct 2016 23:06:45 +0300 Subject: Re: aibs(4) / atk0110 support for newer systems To: Torfinn Ingolfsen , freebsd-stable@FreeBSD.org References: <86cf8380-ac6f-55f0-f0f8-16000d7f04b2@FreeBSD.org> <20160930145704.4dbc9d90011154b38493964e@getmail.no> <7d498084-ec05-d4c9-5f49-6aef32495caf@FreeBSD.org> <20160930205928.77d7e74f7bd1a35fcf1aa50a@getmail.no> <7a868c22-e0bd-f677-e4ad-2bdf6f3605d0@FreeBSD.org> <20161003201511.7258687453f12c44a46a361a@getmail.no> From: Andriy Gapon Message-ID: Date: Mon, 3 Oct 2016 23:05:48 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161003201511.7258687453f12c44a46a361a@getmail.no> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 20:06:48 -0000 On 03/10/2016 21:15, Torfinn Ingolfsen wrote: > Sorry for the delay. I was distracted by other things. > root@kg-core1# cd / > root@kg-core1# patch -p1 < /home/tingo/dl/aibs-ggrp-gitm.diff > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |diff --git a/sys/dev/acpi_support/atk0110.c b/sys/dev/acpi_support/atk0110.c > |index e79a0e00e3577..743684100f737 100644 > |--- a/sys/dev/acpi_support/atk0110.c > |+++ b/sys/dev/acpi_support/atk0110.c > -------------------------- > Patching file sys/dev/acpi_support/atk0110.c using Plan A... > Hunk #1 succeeded at 28. > Hunk #2 succeeded at 52. > Hunk #3 succeeded at 78. > Hunk #4 succeeded at 124. > Hunk #5 succeeded at 362. > Hunk #6 succeeded at 370. > Hunk #7 failed at 391. > Hunk #8 succeeded at 435. > Hunk #9 succeeded at 450. > Hunk #10 failed at 488. > 2 out of 10 hunks failed--saving rejects to sys/dev/acpi_support/atk0110.c.rej > HTH Yes, it does. Thank you! It seems like a couple of minor changes are not in the source tree that you are using. One is some casts in a diagnostic printf and the other is a different rounding of 0C in Kelvins. I've generated a patch that should apply to your tree: https://people.freebsd.org/~avg/aibs-ggrp-gitm.93.diff Please try. -- Andriy Gapon