mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 23:32:52 -04:00
acpi: Add workaround for Altra I2C memory resource
Submitted by: allanjude Sponsored by: Ampere Computing LLC Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D28741
This commit is contained in:
parent
257b044548
commit
6f38d2e7b0
1 changed files with 7 additions and 0 deletions
|
|
@ -517,6 +517,13 @@ acpi_parse_resources(device_t dev, ACPI_HANDLE handle,
|
|||
acpi_MatchHid(handle, "ARMHD620") != ACPI_MATCHHID_NOMATCH)
|
||||
arc.ignore_producer_flag = true;
|
||||
|
||||
/*
|
||||
* The DesignWare I2C Controller on Ampere Altra sets ResourceProducer on
|
||||
* memory resources.
|
||||
*/
|
||||
if (acpi_MatchHid(handle, "APMC0D0F") != ACPI_MATCHHID_NOMATCH)
|
||||
arc.ignore_producer_flag = true;
|
||||
|
||||
status = AcpiWalkResources(handle, "_CRS", acpi_parse_resource, &arc);
|
||||
if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
|
||||
printf("can't fetch resources for %s - %s\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue