summaryrefslogtreecommitdiff
path: root/sys/dev/mii/iophy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mii/iophy.c')
-rw-r--r--sys/dev/mii/iophy.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/mii/iophy.c b/sys/dev/mii/iophy.c
index 07e84f3df3a..9de29886912 100644
--- a/sys/dev/mii/iophy.c
+++ b/sys/dev/mii/iophy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iophy.c,v 1.1 1999/10/12 16:59:29 jason Exp $ */
+/* $OpenBSD: iophy.c,v 1.2 1999/10/12 17:08:56 deraadt Exp $ */
/* $NetBSD: iophy.c,v 1.1 1999/09/05 00:40:27 soren Exp $ */
/*
@@ -159,13 +159,9 @@ iophyattach(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");
- else
+ if (sc->mii_capabilities & BMSR_MEDIAMASK)
mii_add_media(mii, sc->mii_capabilities,
sc->mii_inst);
- printf("\n");
#undef ADD
}