Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2019 23:04:21 +0000 (UTC)
From:      "Jayachandran C." <jchandra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348291 - head/sys/arm64/arm64
Message-ID:  <201905262304.x4QN4LsL015391@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jchandra
Date: Sun May 26 23:04:21 2019
New Revision: 348291
URL: https://svnweb.freebsd.org/changeset/base/348291

Log:
  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

Modified:
  head/sys/arm64/arm64/nexus.c

Modified: head/sys/arm64/arm64/nexus.c
==============================================================================
--- head/sys/arm64/arm64/nexus.c	Sun May 26 17:18:14 2019	(r348290)
+++ head/sys/arm64/arm64/nexus.c	Sun May 26 23:04:21 2019	(r348291)
@@ -292,9 +292,11 @@ nexus_config_intr(device_t dev, int irq, enum intr_tri
     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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905262304.x4QN4LsL015391>