diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-25 23:56:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-25 23:56:52 +0000 |
commit | 0b7ef7ab2318c5b7f701fba0bf16cd6629b62d43 (patch) | |
tree | 5f4e31e470ebb7812ed9a0a899fdbb20d70f76a2 | |
parent | 04509b59b3e879acccff662151703913e077fa1d (diff) |
pretty print for pci cards too
-rw-r--r-- | sys/dev/ic/elink3.c | 9 |
1 files 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 |