Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi provide intr xname



details:   https://anonhg.NetBSD.org/src/rev/0d12342f6f10
branches:  trunk
changeset: 822634:0d12342f6f10
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Mar 29 20:08:40 2017 +0000

description:
provide intr xname

diffstat:

 sys/dev/acpi/com_acpi.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 910174507fd4 -r 0d12342f6f10 sys/dev/acpi/com_acpi.c
--- a/sys/dev/acpi/com_acpi.c   Wed Mar 29 19:52:30 2017 +0000
+++ b/sys/dev/acpi/com_acpi.c   Wed Mar 29 20:08:40 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com_acpi.c,v 1.33 2016/07/11 11:31:50 msaitoh Exp $ */
+/* $NetBSD: com_acpi.c,v 1.34 2017/03/29 20:08:40 jdolecek Exp $ */
 
 /*
  * Copyright (c) 2002 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com_acpi.c,v 1.33 2016/07/11 11:31:50 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com_acpi.c,v 1.34 2017/03/29 20:08:40 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -151,9 +151,9 @@
 
        com_attach_subr(sc);
 
-       asc->sc_ih = isa_intr_establish(aa->aa_ic, irq->ar_irq,
+       asc->sc_ih = isa_intr_establish_xname(aa->aa_ic, irq->ar_irq,
            (irq->ar_type == ACPI_EDGE_SENSITIVE) ? IST_EDGE : IST_LEVEL,
-           IPL_SERIAL, comintr, sc);
+           IPL_SERIAL, comintr, sc, device_xname(sc->sc_dev));
 
        if (!pmf_device_register(self, NULL, com_resume))
                aprint_error_dev(self, "couldn't establish a power handler\n");



Home | Main Index | Thread Index | Old Index