diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-11-29 03:41:32 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-11-29 03:41:32 +0000 |
commit | a26bd6df79a303a069a7219b30b33ee4abaa1cba (patch) | |
tree | aae4ad4210b1f4ee4e113ec27b94f8137fb89a7d /sys/dev/acpi | |
parent | e6f92efe07c7db7285e26fb492eceb7c29f46411 (diff) |
increase the number of address ranges in acpi attach args from 4 to 8
On Intel Alder Lake-S and Raptor Lake-S platforms GPIO has 5 address
ranges. One for each GPIO community.
Fixes suspend/resume on Laurence Tratt's Raptor Lake-S machine
which broke when Alder Lake-S support was added to pchgpio(4).
ok kettenis@
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r-- | sys/dev/acpi/acpivar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h index 51eae666f99..20521653bc8 100644 --- a/sys/dev/acpi/acpivar.h +++ b/sys/dev/acpi/acpivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acpivar.h,v 1.124 2023/07/07 07:37:59 claudio Exp $ */ +/* $OpenBSD: acpivar.h,v 1.125 2023/11/29 03:41:31 jsg Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * @@ -69,9 +69,9 @@ struct acpi_attach_args { struct aml_node *aaa_node; const char *aaa_dev; const char *aaa_cdev; - uint64_t aaa_addr[4]; - uint64_t aaa_size[4]; - bus_space_tag_t aaa_bst[4]; + uint64_t aaa_addr[8]; + uint64_t aaa_size[8]; + bus_space_tag_t aaa_bst[8]; int aaa_naddr; uint32_t aaa_irq[8]; uint32_t aaa_irq_flags[8]; |