Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci use pci_intr_establish_xname()



details:   https://anonhg.NetBSD.org/src/rev/d1b3dcbe34e9
branches:  trunk
changeset: 321588:d1b3dcbe34e9
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Mar 24 18:32:13 2018 +0000

description:
use pci_intr_establish_xname()

diffstat:

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

diffs (29 lines):

diff -r de2b3c110c2e -r d1b3dcbe34e9 sys/dev/pci/auich.c
--- a/sys/dev/pci/auich.c       Sat Mar 24 16:22:48 2018 +0000
+++ b/sys/dev/pci/auich.c       Sat Mar 24 18:32:13 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auich.c,v 1.151 2017/06/01 02:45:11 chs Exp $  */
+/*     $NetBSD: auich.c,v 1.152 2018/03/24 18:32:13 jdolecek Exp $     */
 
 /*-
  * Copyright (c) 2000, 2004, 2005, 2008 The NetBSD Foundation, Inc.
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: auich.c,v 1.151 2017/06/01 02:45:11 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: auich.c,v 1.152 2018/03/24 18:32:13 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -538,8 +538,8 @@
                return;
        }
        intrstr = pci_intr_string(pa->pa_pc, sc->intrh, intrbuf, sizeof(intrbuf));
-       sc->sc_ih = pci_intr_establish(pa->pa_pc, sc->intrh, IPL_AUDIO,
-           auich_intr, sc);
+       sc->sc_ih = pci_intr_establish_xname(pa->pa_pc, sc->intrh, IPL_AUDIO,
+           auich_intr, sc, device_xname(sc->sc_dev));
        if (sc->sc_ih == NULL) {
                aprint_error_dev(self, "can't establish interrupt");
                if (intrstr != NULL)



Home | Main Index | Thread Index | Old Index