Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci silence "boot -z"
details: https://anonhg.NetBSD.org/src/rev/7daa6b84c4d1
branches: trunk
changeset: 754456:7daa6b84c4d1
user: hubertf <hubertf%NetBSD.org@localhost>
date: Fri Apr 30 21:17:19 2010 +0000
description:
silence "boot -z"
diffstat:
sys/dev/pci/if_pcn.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 2e19e6b7b905 -r 7daa6b84c4d1 sys/dev/pci/if_pcn.c
--- a/sys/dev/pci/if_pcn.c Fri Apr 30 21:05:52 2010 +0000
+++ b/sys/dev/pci/if_pcn.c Fri Apr 30 21:17:19 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_pcn.c,v 1.50 2010/04/05 07:20:26 joerg Exp $ */
+/* $NetBSD: if_pcn.c,v 1.51 2010/04/30 21:17:19 hubertf Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.50 2010/04/05 07:20:26 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.51 2010/04/30 21:17:19 hubertf Exp $");
#include "rnd.h"
@@ -2033,12 +2033,12 @@
#define ADD(str, m, d) \
do { \
- printf("%s%s", sep, str); \
+ aprint_normal("%s%s", sep, str); \
ifmedia_add(&sc->sc_mii.mii_media, IFM_ETHER|(m), (d), NULL); \
sep = ", "; \
} while (/*CONSTCOND*/0)
- printf("%s: ", device_xname(sc->sc_dev));
+ aprint_normal("%s: ", device_xname(sc->sc_dev));
ADD("10base5", IFM_10_5, PORTSEL_AUI);
if (sc->sc_variant->pcv_chipid == PARTID_Am79c970A)
ADD("10base5-FDX", IFM_10_5|IFM_FDX, PORTSEL_AUI);
@@ -2048,7 +2048,7 @@
ADD("auto", IFM_AUTO, 0);
if (sc->sc_variant->pcv_chipid == PARTID_Am79c970A)
ADD("auto-FDX", IFM_AUTO|IFM_FDX, 0);
- printf("\n");
+ aprint_normal("\n");
ifmedia_set(&sc->sc_mii.mii_media, IFM_ETHER|IFM_AUTO);
}
Home |
Main Index |
Thread Index |
Old Index