Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi use intr_establish_xname()



details:   https://anonhg.NetBSD.org/src/rev/bbedde9dcf15
branches:  trunk
changeset: 836390:bbedde9dcf15
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Oct 15 06:58:08 2018 +0000

description:
use intr_establish_xname()

diffstat:

 sys/dev/acpi/ahcisata_acpi.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r e80c96dc35c8 -r bbedde9dcf15 sys/dev/acpi/ahcisata_acpi.c
--- a/sys/dev/acpi/ahcisata_acpi.c      Mon Oct 15 05:44:09 2018 +0000
+++ b/sys/dev/acpi/ahcisata_acpi.c      Mon Oct 15 06:58:08 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ahcisata_acpi.c,v 1.1 2018/10/12 23:26:18 jmcneill Exp $ */
+/* $NetBSD: ahcisata_acpi.c,v 1.2 2018/10/15 06:58:08 jdolecek Exp $ */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_acpi.c,v 1.1 2018/10/12 23:26:18 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_acpi.c,v 1.2 2018/10/15 06:58:08 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -103,7 +103,8 @@
        }
 
        const int type = (irq->ar_type == ACPI_EDGE_SENSITIVE) ? IST_EDGE : IST_LEVEL;
-       ih = intr_establish(irq->ar_irq, IPL_BIO, type, ahci_intr, sc);
+       ih = intr_establish_xname(irq->ar_irq, IPL_BIO, type, ahci_intr, sc,
+           device_xname(self));
        if (ih == NULL) {
                aprint_error_dev(self, "couldn't install interrupt handler\n");
                return;



Home | Main Index | Thread Index | Old Index