Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2023 17:59:58 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 888071fb560a - stable/13 - arm64: Implement bus_describe_intr() for nexus
Message-ID:  <202305071759.347HxwZ1007863@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=888071fb560a46c5e6aaa1027c18feead686026f

commit 888071fb560a46c5e6aaa1027c18feead686026f
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-04-23 17:30:44 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-05-07 17:54:09 +0000

    arm64: Implement bus_describe_intr() for nexus
    
    Prompted by a compiler warning introduced by
    e582d4a2b09e ("arm64: nexus code tidy-up").
    
    Reviewed by:    mhorne, andrew
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D39749
    
    (cherry picked from commit 7623cc8f65ab1b28690d4a6580ae87b7926ed008)
---
 sys/arm64/arm64/nexus.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/sys/arm64/arm64/nexus.c b/sys/arm64/arm64/nexus.c
index bc7e8e881dab..8f768de18cd9 100644
--- a/sys/arm64/arm64/nexus.c
+++ b/sys/arm64/arm64/nexus.c
@@ -139,6 +139,7 @@ static device_method_t nexus_methods[] = {
 	DEVMETHOD(bus_bind_intr,	nexus_bind_intr),
 #endif
 	DEVMETHOD(bus_config_intr,	nexus_config_intr),
+	DEVMETHOD(bus_describe_intr,	nexus_describe_intr),
 	DEVMETHOD(bus_setup_intr,	nexus_setup_intr),
 	DEVMETHOD(bus_teardown_intr,	nexus_teardown_intr),
 	DEVMETHOD(bus_get_bus_tag,	nexus_get_bus_tag),
@@ -341,6 +342,14 @@ nexus_teardown_intr(device_t dev, device_t child, struct resource *r, void *ih)
 	return (intr_teardown_irq(child, r, ih));
 }
 
+static int
+nexus_describe_intr(device_t dev, device_t child, struct resource *irq,
+    void *cookie, const char *descr)
+{
+
+	return (intr_describe_irq(child, irq, cookie, descr));
+}
+
 #ifdef SMP
 static int
 nexus_bind_intr(device_t dev, device_t child, struct resource *irq, int cpu)



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