Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Slightly modify attach messages.
details: https://anonhg.NetBSD.org/src/rev/d23eea753469
branches: trunk
changeset: 537782:d23eea753469
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Oct 05 17:52:31 2002 +0000
description:
Slightly modify attach messages.
diffstat:
sys/dev/ic/fmv.c | 8 ++++----
sys/dev/isa/if_ate.c | 12 +++++-------
sys/dev/isa/if_fmv_isa.c | 6 ++----
sys/dev/isapnp/if_fmv_isapnp.c | 9 +++------
4 files changed, 14 insertions(+), 21 deletions(-)
diffs (134 lines):
diff -r b5274115aad1 -r d23eea753469 sys/dev/ic/fmv.c
--- a/sys/dev/ic/fmv.c Sat Oct 05 17:26:06 2002 +0000
+++ b/sys/dev/ic/fmv.c Sat Oct 05 17:52:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fmv.c,v 1.1 2002/10/05 15:16:11 tsutsui Exp $ */
+/* $NetBSD: fmv.c,v 1.2 2002/10/05 17:52:31 tsutsui Exp $ */
/*
* All Rights Reserved, Copyright (C) Fujitsu Limited 1995
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fmv.c,v 1.1 2002/10/05 15:16:11 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fmv.c,v 1.2 2002/10/05 17:52:31 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -139,10 +139,10 @@
break;
default:
/* Unknown card type: maybe a new model, but... */
- panic("%s: unknown FMV-18x card", sc->sc_dev.dv_xname);
+ panic("\n%s: unknown FMV-18x card", sc->sc_dev.dv_xname);
}
- printf("%s: %s Ethernet\n", sc->sc_dev.dv_xname, typestr);
+ printf(": %s Ethernet\n", typestr);
/* This interface is always enabled. */
sc->sc_flags |= FE_FLAGS_ENABLED;
diff -r b5274115aad1 -r d23eea753469 sys/dev/isa/if_ate.c
--- a/sys/dev/isa/if_ate.c Sat Oct 05 17:26:06 2002 +0000
+++ b/sys/dev/isa/if_ate.c Sat Oct 05 17:52:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ate.c,v 1.37 2002/10/04 21:19:35 tsutsui Exp $ */
+/* $NetBSD: if_ate.c,v 1.38 2002/10/05 17:52:32 tsutsui Exp $ */
/*
* All Rights Reserved, Copyright (C) Fujitsu Limited 1995
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ate.c,v 1.37 2002/10/04 21:19:35 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ate.c,v 1.38 2002/10/05 17:52:32 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -375,11 +375,9 @@
const char *typestr;
int type;
- printf("\n");
-
/* Map i/o space. */
if (bus_space_map(iot, ia->ia_io[0].ir_addr, ATE_NPORTS, 0, &ioh)) {
- printf("%s: can't map i/o space\n", sc->sc_dev.dv_xname);
+ printf(": can't map i/o space\n");
return;
}
@@ -407,11 +405,11 @@
default:
/* Unknown card type: maybe a new model, but... */
- printf("%s: where did the card go?!\n", sc->sc_dev.dv_xname);
+ printf(": where did the card go?!\n");
panic("unknown card");
}
- printf("%s: %s Ethernet\n", sc->sc_dev.dv_xname, typestr);
+ printf(": %s Ethernet\n", typestr);
/* This interface is always enabled. */
sc->sc_flags |= FE_FLAGS_ENABLED;
diff -r b5274115aad1 -r d23eea753469 sys/dev/isa/if_fmv_isa.c
--- a/sys/dev/isa/if_fmv_isa.c Sat Oct 05 17:26:06 2002 +0000
+++ b/sys/dev/isa/if_fmv_isa.c Sat Oct 05 17:52:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_fmv_isa.c,v 1.1 2002/10/05 15:16:12 tsutsui Exp $ */
+/* $NetBSD: if_fmv_isa.c,v 1.2 2002/10/05 17:52:32 tsutsui Exp $ */
/*
* All Rights Reserved, Copyright (C) Fujitsu Limited 1995
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fmv_isa.c,v 1.1 2002/10/05 15:16:12 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fmv_isa.c,v 1.2 2002/10/05 17:52:32 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -284,8 +284,6 @@
bus_space_tag_t iot = ia->ia_iot;
bus_space_handle_t ioh;
- printf("\n");
-
/* Map i/o space. */
if (bus_space_map(iot, ia->ia_io[0].ir_addr, FMV_NPORTS, 0, &ioh)) {
printf("%s: can't map i/o space\n", sc->sc_dev.dv_xname);
diff -r b5274115aad1 -r d23eea753469 sys/dev/isapnp/if_fmv_isapnp.c
--- a/sys/dev/isapnp/if_fmv_isapnp.c Sat Oct 05 17:26:06 2002 +0000
+++ b/sys/dev/isapnp/if_fmv_isapnp.c Sat Oct 05 17:52:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_fmv_isapnp.c,v 1.1 2002/10/05 15:16:14 tsutsui Exp $ */
+/* $NetBSD: if_fmv_isapnp.c,v 1.2 2002/10/05 17:52:33 tsutsui Exp $ */
/*
* All Rights Reserved, Copyright (C) Fujitsu Limited 1995
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fmv_isapnp.c,v 1.1 2002/10/05 15:16:14 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fmv_isapnp.c,v 1.2 2002/10/05 17:52:33 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -92,11 +92,8 @@
struct mb86960_softc *sc = &isc->sc_mb86960;
struct isapnp_attach_args * const ipa = aux;
- printf("\n");
-
if (isapnp_config(ipa->ipa_iot, ipa->ipa_memt, ipa)) {
- printf("%s: can't configure isapnp resources\n",
- sc->sc_dev.dv_xname);
+ printf(": can't configure isapnp resources\n");
return;
}
Home |
Main Index |
Thread Index |
Old Index