1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-16 15:11:52 +00:00

arm64 nexus: remove incorrect warning

acpi_config_intr() will be called when an arm64 system booted with ACPI.
We do the interrupt mapping for ACPI interrupts in nexus_acpi_map_intr()
on arm64, so acpi_config_intr() has to just return success without
printing this error message.

Reviewed by:	andrew
Differential Revision:	https://reviews.freebsd.org/D19432
This commit is contained in:
Jayachandran C. 2019-05-26 23:04:21 +00:00
parent bc35229fad
commit 87820437f9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348291

View File

@ -292,9 +292,11 @@ nexus_config_intr(device_t dev, int irq, enum intr_trigger trig,
enum intr_polarity pol)
{
/* TODO: This is wrong, it's needed for ACPI */
device_printf(dev, "bus_config_intr is obsolete and not supported!\n");
return (EOPNOTSUPP);
/*
* On arm64 (due to INTRNG), ACPI interrupt configuration is
* done in nexus_acpi_map_intr().
*/
return (0);
}
static int