Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen no need to pollute dmesg by xennet_watchdog...



details:   https://anonhg.NetBSD.org/src/rev/9a6d8fe19980
branches:  trunk
changeset: 970872:9a6d8fe19980
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Apr 05 14:20:18 2020 +0000

description:
no need to pollute dmesg by xennet_watchdog(), turn the message into DPRINTFN()

diffstat:

 sys/arch/xen/xen/if_xennet_xenbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a191f93983bd -r 9a6d8fe19980 sys/arch/xen/xen/if_xennet_xenbus.c
--- a/sys/arch/xen/xen/if_xennet_xenbus.c       Sun Apr 05 14:09:17 2020 +0000
+++ b/sys/arch/xen/xen/if_xennet_xenbus.c       Sun Apr 05 14:20:18 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: if_xennet_xenbus.c,v 1.97 2020/03/27 18:37:30 jdolecek Exp $      */
+/*      $NetBSD: if_xennet_xenbus.c,v 1.98 2020/04/05 14:20:18 jdolecek Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -81,7 +81,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.97 2020/03/27 18:37:30 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.98 2020/04/05 14:20:18 jdolecek Exp $");
 
 #include "opt_xen.h"
 #include "opt_nfs_boot.h"
@@ -1340,7 +1340,7 @@
 void
 xennet_watchdog(struct ifnet *ifp)
 {
-       aprint_verbose_ifnet(ifp, "xennet_watchdog\n");
+       DPRINTFN(XEDB_FOLLOW, ("%s: xennet_watchdog\n", ifp->if_xname));
 }
 
 int



Home | Main Index | Thread Index | Old Index