diff options
author | flipk <flipk@cvs.openbsd.org> | 1997-09-16 17:47:04 +0000 |
---|---|---|
committer | flipk <flipk@cvs.openbsd.org> | 1997-09-16 17:47:04 +0000 |
commit | a1e107f59cc92649dcf8ef0fdc6c9884ccee11ca (patch) | |
tree | a400ae649e1b4c661b96906f07286d5d47c0e31c | |
parent | 53ccc134b3a847d8bd3ddbf7b8ebeef2c071a1b9 (diff) |
tighten up probe printfs a bit and prepend with device name
-rw-r--r-- | sys/dev/ic/elink3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c index 9a923c2476c..ce8ecc337ad 100644 --- a/sys/dev/ic/elink3.c +++ b/sys/dev/ic/elink3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elink3.c,v 1.18 1997/07/30 11:12:22 niklas Exp $ */ +/* $OpenBSD: elink3.c,v 1.19 1997/09/16 17:47:03 flipk Exp $ */ /* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */ /* @@ -231,7 +231,8 @@ epconfig(sc, chipset) sc->sc_arpcom.ac_enaddr[(i << 1) + 1] = x; } - printf("address %s\n", ether_sprintf(sc->sc_arpcom.ac_enaddr)); + printf("%s: address %s, ", sc->sc_dev.dv_xname, + ether_sprintf(sc->sc_arpcom.ac_enaddr)); /* * Vortex-based (3c59x pci,eisa) and Boomerang (3c900,3c515?) cards @@ -262,9 +263,8 @@ epconfig(sc, chipset) break; default: - printf("%s: wrote %d to TX_AVAIL_THRESH, read back %d. " - "Interface disabled\n", - sc->sc_dev.dv_xname, EP_THRESH_DISABLE, (int) i); + printf("wrote %d to TX_AVAIL_THRESH, read back %d. " + "Interface disabled\n", EP_THRESH_DISABLE, (int) i); return; } |