Module Name:    src
Committed By:   msaitoh
Date:           Mon Jun 23 17:44:31 UTC 2014

Modified Files:
        src/sys/dev/pci: if_bge.c

Log Message:
Print APE firmware correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.270 -r1.271 src/sys/dev/pci/if_bge.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/pci/if_bge.c
diff -u src/sys/dev/pci/if_bge.c:1.270 src/sys/dev/pci/if_bge.c:1.271
--- src/sys/dev/pci/if_bge.c:1.270	Tue Jun 17 22:29:13 2014
+++ src/sys/dev/pci/if_bge.c	Mon Jun 23 17:44:31 2014
@@ -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 @@ bge_ape_read_fw_ver(struct bge_softc *sc
 		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,

Reply via email to