summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ne2000.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-10-22 23:26:09 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-10-22 23:26:09 +0000
commitadb2de8ab58120c3f2994283589c50edc46cbafe (patch)
treebaed1694db7ccba6e344807da548dc6ce60204a8 /sys/dev/ic/ne2000.c
parent3ccf7dc3616c032db7578c0199d3c66f9b4bd177 (diff)
shorten ne(4) dmesg entries from 2-3 lines to 1.
Thanks to Han Boetes for testing on an isapnp card.
Diffstat (limited to 'sys/dev/ic/ne2000.c')
-rw-r--r--sys/dev/ic/ne2000.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/dev/ic/ne2000.c b/sys/dev/ic/ne2000.c
index 9f365fe9971..527b71bf68b 100644
--- a/sys/dev/ic/ne2000.c
+++ b/sys/dev/ic/ne2000.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ne2000.c,v 1.14 2004/01/07 00:34:25 fgsch Exp $ */
+/* $OpenBSD: ne2000.c,v 1.15 2005/10/22 23:26:02 brad Exp $ */
/* $NetBSD: ne2000.c,v 1.12 1998/06/10 01:15:50 thorpej Exp $ */
/*-
@@ -122,8 +122,7 @@ ne2000_attach(nsc, myea)
if (nsc->sc_type == 0) {
nsc->sc_type = ne2000_detect(nsc);
if (nsc->sc_type == 0) {
- printf("%s: where did the card go?\n",
- dsc->sc_dev.dv_xname);
+ printf(": where did the card go?\n");
return (1);
}
}
@@ -211,8 +210,7 @@ ne2000_attach(nsc, myea)
}
if (mstart == 0) {
- printf("%s: cannot find start of RAM\n",
- dsc->sc_dev.dv_xname);
+ printf(": cannot find start of RAM\n");
return;
}
@@ -239,8 +237,8 @@ ne2000_attach(nsc, myea)
break;
}
- printf("%s: RAM start 0x%x, size %d\n",
- dsc->sc_dev.dv_xname, mstart, memsize);
+ printf(": RAM start 0x%x, size %d\n",
+ mstart, memsize);
dsc->mem_start = mstart;
}
@@ -281,7 +279,7 @@ ne2000_attach(nsc, myea)
dsc->sc_media_init = dp8390_media_init;
if (dp8390_config(dsc)) {
- printf("%s: setup failed\n", dsc->sc_dev.dv_xname);
+ printf(": setup failed\n");
return (1);
}