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/459190f530b1
branches:  trunk
changeset: 445820:459190f530b1
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Nov 13 20:12:45 2018 +0000

description:
use pci_intr_establish_xname()

diffstat:

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

diffs (29 lines):

diff -r 3ed1cd5d7934 -r 459190f530b1 sys/dev/pci/if_re_pci.c
--- a/sys/dev/pci/if_re_pci.c   Tue Nov 13 19:39:04 2018 +0000
+++ b/sys/dev/pci/if_re_pci.c   Tue Nov 13 20:12:45 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_re_pci.c,v 1.48 2017/05/18 18:33:48 jakllsch Exp $  */
+/*     $NetBSD: if_re_pci.c,v 1.49 2018/11/13 20:12:45 jdolecek Exp $  */
 
 /*
  * Copyright (c) 1997, 1998-2003
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_re_pci.c,v 1.48 2017/05/18 18:33:48 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_re_pci.c,v 1.49 2018/11/13 20:12:45 jdolecek Exp $");
 
 #include <sys/types.h>
 
@@ -262,8 +262,8 @@
        }
        intrstr = pci_intr_string(pc, psc->sc_pihp[0], intrbuf,
            sizeof(intrbuf));
-       psc->sc_ih = pci_intr_establish(pc, psc->sc_pihp[0], IPL_NET,
-           re_intr, sc);
+       psc->sc_ih = pci_intr_establish_xname(pc, psc->sc_pihp[0], IPL_NET,
+           re_intr, sc, device_xname(sc->sc_dev));
        if (psc->sc_ih == NULL) {
                aprint_error_dev(self, "couldn't establish interrupt");
                if (intrstr != NULL)



Home | Main Index | Thread Index | Old Index