In message <[email protected]>, Takanori 
Watanabe
 writes:
> The branch main has been updated by takawata:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=a9880bfe1181b7a32d026339bae113f2
> 4300e5e1
>
> commit a9880bfe1181b7a32d026339bae113f24300e5e1
> Author:     Takanori Watanabe <[email protected]>
> AuthorDate: 2022-10-18 05:41:53 +0000
> Commit:     Takanori Watanabe <[email protected]>
> CommitDate: 2022-10-24 09:57:36 +0000
>
>     acpi_ged:  New driver to ACPI generic event device
>     
>      New driver to ACPI generic event device, defined in ACPI spec.
>     Some ACPI power button may not work without this.
>     
>     In qemu arm64 with "virt" machine, with ACPI firmware,
>     enable devd check devd message by
>     and invoke following command in qemu monitor
>     (qemu) system_powerdown
>     and make sure some power button input event appear.
>     (setting sysctl hw.acpi.power_button_state=S5 is not work,
>     because ACPI tree does not have \_S5 object.)
>     
>     Reviewed by: andrew, hrs
>     Differential Revision: https://reviews.freebsd.org/D37032
> ---
>  share/man/man4/acpi_ged.4          |  64 +++++++++
>  sys/arm64/conf/std.virt            |   1 +
>  sys/conf/files                     |   1 +
>  sys/dev/acpica/acpi_ged.c          | 267 +++++++++++++++++++++++++++++++++++
> ++
>  sys/modules/acpi/Makefile          |   2 +-
>  sys/modules/acpi/acpi_ged/Makefile |  11 ++
>  6 files changed, 345 insertions(+), 1 deletion(-)

Hi,

This fails to build.

src/sys/dev/acpica/acpi_ged.c:201:31: error: no member named 'evt' in 
'struct acpi_ged_softc'; did you mean 'evts'?
                rawirq = rman_get_start(sc->evt[i].r);
                                            ^~~
                                            evts


-- 
Cheers,
Cy Schubert <[email protected]>
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
NTP:           <[email protected]>    Web:  https://nwtime.org

                        e^(i*pi)+1=0



Reply via email to