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 APE firmware correctly.
details: https://anonhg.NetBSD.org/src/rev/c51f9ffb9e0a
branches: trunk
changeset: 330125:c51f9ffb9e0a
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Jun 23 17:44:31 2014 +0000
description:
Print APE firmware correctly.
diffstat:
sys/dev/pci/if_bge.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 211050addc7d -r c51f9ffb9e0a sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c Mon Jun 23 17:43:42 2014 +0000
+++ b/sys/dev/pci/if_bge.c Mon Jun 23 17:44:31 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bge.c,v 1.270 2014/06/17 22:29:13 msaitoh Exp $ */
+/* $NetBSD: if_bge.c,v 1.271 2014/06/23 17:44:31 msaitoh Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.270 2014/06/17 22:29:13 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.271 2014/06/23 17:44:31 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -975,7 +975,7 @@
fwtype = "UNKN";
/* Print the APE firmware version. */
- printf(", APE firmware %s %d.%d.%d.%d", fwtype,
+ aprint_normal_dev(sc->bge_dev, "APE firmware %s %d.%d.%d.%d\n", fwtype,
(apedata & BGE_APE_FW_VERSION_MAJMSK) >> BGE_APE_FW_VERSION_MAJSFT,
(apedata & BGE_APE_FW_VERSION_MINMSK) >> BGE_APE_FW_VERSION_MINSFT,
(apedata & BGE_APE_FW_VERSION_REVMSK) >> BGE_APE_FW_VERSION_REVSFT,
Home |
Main Index |
Thread Index |
Old Index