summaryrefslogtreecommitdiff
path: root/sys/dev/mii/ukphy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mii/ukphy.c')
-rw-r--r--sys/dev/mii/ukphy.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/mii/ukphy.c b/sys/dev/mii/ukphy.c
index 74dea9903d0..27ee6d5bacd 100644
--- a/sys/dev/mii/ukphy.c
+++ b/sys/dev/mii/ukphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ukphy.c,v 1.7 2000/08/26 20:04:18 nate Exp $ */
+/* $OpenBSD: ukphy.c,v 1.8 2000/08/28 05:24:06 jason Exp $ */
/* $NetBSD: ukphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $ */
/*-
@@ -142,12 +142,10 @@ ukphyattach(parent, self, aux)
sc->mii_capabilities =
PHY_READ(sc, MII_BMSR) & ma->mii_capmask;
- printf("%s: ", sc->mii_dev.dv_xname);
if ((sc->mii_capabilities & BMSR_MEDIAMASK) == 0)
- printf("no media present");
+ printf("%s: no media present\n", sc->mii_dev.dv_xname);
else
mii_phy_add_media(sc);
- printf("\n");
}
int