From 0b7ef7ab2318c5b7f701fba0bf16cd6629b62d43 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 25 Feb 1998 23:56:52 +0000 Subject: pretty print for pci cards too --- sys/dev/ic/elink3.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c index 0d930e0d830..81d2a2f75c0 100644 --- a/sys/dev/ic/elink3.c +++ b/sys/dev/ic/elink3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elink3.c,v 1.22 1998/02/23 17:36:52 niklas Exp $ */ +/* $OpenBSD: elink3.c,v 1.23 1998/02/25 23:56:51 deraadt Exp $ */ /* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */ /* @@ -231,8 +231,7 @@ epconfig(sc, chipset) sc->sc_arpcom.ac_enaddr[(i << 1) + 1] = x; } - printf("%s: address %s, ", sc->sc_dev.dv_xname, - ether_sprintf(sc->sc_arpcom.ac_enaddr)); + printf(": address %s, ", ether_sprintf(sc->sc_arpcom.ac_enaddr)); /* * Vortex-based (3c59x pci,eisa) and Boomerang (3c900,3c515?) cards @@ -505,8 +504,8 @@ ep_vortex_probemedia(sc) medium_name = (default_media > 8) ? "(unknown/impossible media)" : ep_vortex_media[default_media].epm_name; - printf(" default %s%s\n", - medium_name, (autoselect)? ", autoselect" : "" ); + printf(" default %s%s", + medium_name, (autoselect)? "/autoselect" : "" ); sc->sc_media = ep_vortex_media[default_media].epm_ifdata; #ifdef notyet -- cgit v1.2.3