Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Print interrupt type correctly.
details: https://anonhg.NetBSD.org/src/rev/4c80de01430a
branches: trunk
changeset: 339550:4c80de01430a
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jul 28 07:15:03 2015 +0000
description:
Print interrupt type correctly.
diffstat:
sys/dev/pci/if_wm.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r aa927bc1495e -r 4c80de01430a sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Tue Jul 28 07:14:48 2015 +0000
+++ b/sys/dev/pci/if_wm.c Tue Jul 28 07:15:03 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.344 2015/07/23 08:29:58 msaitoh Exp $ */
+/* $NetBSD: if_wm.c,v 1.345 2015/07/28 07:15:03 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -81,7 +81,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.344 2015/07/23 08:29:58 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.345 2015/07/28 07:15:03 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -1664,11 +1664,13 @@
error = pci_intr_distribute(vih, affinity, NULL);
if (error == 0) {
aprint_normal_dev(sc->sc_dev,
- "for TX interrupting at %s affinity to %u\n",
- intrstr, msix_matrix[i].cpuid % ncpu);
+ "for %s interrupting at %s affinity to %u\n",
+ msix_matrix[i].intrname, intrstr,
+ msix_matrix[i].cpuid % ncpu);
} else {
aprint_normal_dev(sc->sc_dev,
- "for TX interrupting at %s\n", intrstr);
+ "for %s interrupting at %s\n",
+ msix_matrix[i].intrname, intrstr);
}
sc->sc_ihs[msix_matrix[i].intridx] = vih;
}
Home |
Main Index |
Thread Index |
Old Index