Module Name:    src
Committed By:   msaitoh
Date:           Fri Oct  5 05:37:49 UTC 2018

Modified Files:
        src/sys/dev/pci: hifn7751.c

Log Message:
 Use pci_intr_establish_xname().


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/pci/hifn7751.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/hifn7751.c
diff -u src/sys/dev/pci/hifn7751.c:1.61 src/sys/dev/pci/hifn7751.c:1.62
--- src/sys/dev/pci/hifn7751.c:1.61	Thu May 14 07:27:14 2015
+++ src/sys/dev/pci/hifn7751.c	Fri Oct  5 05:37:49 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: hifn7751.c,v 1.61 2015/05/14 07:27:14 maxv Exp $	*/
+/*	$NetBSD: hifn7751.c,v 1.62 2018/10/05 05:37:49 msaitoh Exp $	*/
 /*	$FreeBSD: hifn7751.c,v 1.5.2.7 2003/10/08 23:52:00 sam Exp $ */
 /*	$OpenBSD: hifn7751.c,v 1.140 2003/08/01 17:55:54 deraadt Exp $	*/
 
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.61 2015/05/14 07:27:14 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.62 2018/10/05 05:37:49 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -372,7 +372,8 @@ hifn_attach(device_t parent, device_t se
 	sc->sc_ih = pci_intr_establish(pc, ih, IPL_NET, hifn_intr, sc,
 	    device_xname(self));
 #else
-	sc->sc_ih = pci_intr_establish(pc, ih, IPL_NET, hifn_intr, sc);
+	sc->sc_ih = pci_intr_establish_xname(pc, ih, IPL_NET, hifn_intr, sc,
+	    device_xname(self));
 #endif
 	if (sc->sc_ih == NULL) {
 		aprint_error_dev(sc->sc_dv, "couldn't establish interrupt\n");

Reply via email to