Module Name:    src
Committed By:   nonaka
Date:           Fri Nov 27 00:08:43 UTC 2015

Modified Files:
        src/sys/dev/marvell: mvpex.c

Log Message:
Use device name instead of fixed string "mvpex" for evcnt group.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/marvell/mvpex.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/marvell/mvpex.c
diff -u src/sys/dev/marvell/mvpex.c:1.15 src/sys/dev/marvell/mvpex.c:1.16
--- src/sys/dev/marvell/mvpex.c:1.15	Fri Oct  2 05:22:52 2015
+++ src/sys/dev/marvell/mvpex.c	Fri Nov 27 00:08:43 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: mvpex.c,v 1.15 2015/10/02 05:22:52 msaitoh Exp $	*/
+/*	$NetBSD: mvpex.c,v 1.16 2015/11/27 00:08:43 nonaka Exp $	*/
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvpex.c,v 1.15 2015/10/02 05:22:52 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvpex.c,v 1.16 2015/11/27 00:08:43 nonaka Exp $");
 
 #include "opt_pci.h"
 #include "pci.h"
@@ -680,8 +680,8 @@ mvpex_intr_establish(void *v, pci_intr_h
 	pexih->ih_type = ipl;
 	pexih->ih_intrtab = intrtab;
 	mvpex_intr_string(v, pin, pexih->ih_evname, sizeof(pexih->ih_evname));
-	evcnt_attach_dynamic(&pexih->ih_evcnt, EVCNT_TYPE_INTR, NULL, "mvpex",
-	    pexih->ih_evname);
+	evcnt_attach_dynamic(&pexih->ih_evcnt, EVCNT_TYPE_INTR, NULL,
+	    device_xname(sc->sc_dev), pexih->ih_evname);
 
 	s = splhigh();
 

Reply via email to