summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-12 17:08:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-12 17:08:57 +0000
commitec2c726dfacff86e8a0d100a24fed2c8d00ac129 (patch)
treec97fd6bb9cb2bac71afe32dcef6be4d736954f3a /sys/dev/mii
parent17f116fa65405123afb56f843d48cc73e19c4d4b (diff)
no media prints in mii code
Diffstat (limited to 'sys/dev/mii')
-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
}