Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci It's not required to print "failed to detect NVM...
details: https://anonhg.NetBSD.org/src/rev/d838c3bf21e6
branches: trunk
changeset: 802354:d838c3bf21e6
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Sep 11 17:09:04 2014 +0000
description:
It's not required to print "failed to detect NVM bank" with
aprint_error_dev(). Use DPRINTF(). Same as {Free,Open}BSD.
diffstat:
sys/dev/pci/if_wm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r f821e3291c5f -r d838c3bf21e6 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Thu Sep 11 13:30:04 2014 +0000
+++ b/sys/dev/pci/if_wm.c Thu Sep 11 17:09:04 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.296 2014/09/04 02:34:32 msaitoh Exp $ */
+/* $NetBSD: if_wm.c,v 1.297 2014/09/11 17:09:04 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.296 2014/09/04 02:34:32 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.297 2014/09/11 17:09:04 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -8269,8 +8269,8 @@
*/
error = wm_nvm_valid_bank_detect_ich8lan(sc, &flash_bank);
if (error) {
- aprint_error_dev(sc->sc_dev, "%s: failed to detect NVM bank\n",
- __func__);
+ DPRINTF(WM_DEBUG_NVM, ("%s: failed to detect NVM bank\n",
+ device_xname(sc->sc_dev)));
flash_bank = 0;
}
Home |
Main Index |
Thread Index |
Old Index