Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/vchiq/dist/interface/vchiq_arm use fdtbus_i...



details:   https://anonhg.NetBSD.org/src/rev/e957e357b67a
branches:  trunk
changeset: 949741:e957e357b67a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Jan 15 22:58:49 2021 +0000

description:
use fdtbus_intr_establish_xname

diffstat:

 sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_fdt.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 792ce3746a56 -r e957e357b67a sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_fdt.c
--- a/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_fdt.c        Fri Jan 15 22:47:32 2021 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_fdt.c        Fri Jan 15 22:58:49 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vchiq_netbsd_fdt.c,v 1.3 2020/12/01 04:19:04 rin Exp $ */
+/* $NetBSD: vchiq_netbsd_fdt.c,v 1.4 2021/01/15 22:58:49 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vchiq_netbsd_fdt.c,v 1.3 2020/12/01 04:19:04 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vchiq_netbsd_fdt.c,v 1.4 2021/01/15 22:58:49 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -130,8 +130,8 @@
                return;
        }
 
-       sc->sc_ih = fdtbus_intr_establish(phandle, 0, IPL_VM, FDT_INTR_MPSAFE,
-           vchiq_intr, sc);
+       sc->sc_ih = fdtbus_intr_establish_xname(phandle, 0, IPL_VM,
+           FDT_INTR_MPSAFE, vchiq_intr, sc, device_xname(self));
        if (sc->sc_ih == NULL) {
                aprint_error_dev(self, "failed to establish interrupt %s\n",
                    intrstr);



Home | Main Index | Thread Index | Old Index