Slightly modify attach messages.

This commit is contained in:
tsutsui 2002-10-05 17:52:31 +00:00
parent 7eac5bf44e
commit 071330b986
4 changed files with 14 additions and 21 deletions

View File

@ -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 @@ fmv_attach(sc)
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;

View File

@ -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 @@ ate_attach(parent, self, aux)
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 @@ ate_attach(parent, self, aux)
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;

View File

@ -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 @@ fmv_isa_attach(parent, self, aux)
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);

View File

@ -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 @@ fmv_isapnp_attach(parent, self, aux)
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;
}