aibs(4) / atk0110 support for newer systems

Andriy Gapon avg at FreeBSD.org
Mon Oct 3 20:06:48 UTC 2016


On 03/10/2016 21:15, Torfinn Ingolfsen wrote:
> Sorry for the delay. I was distracted by other things.
> root at kg-core1# cd /
> root at 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


More information about the freebsd-stable mailing list