summaryrefslogtreecommitdiff
path: root/sys/dev/mii/inphy.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-23 12:39:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-23 12:39:12 +0000
commit6e3bc9589afeebb2fef21dedbe55e5bdd022c83d (patch)
tree32468ab4da42eef68e9657a97da724a9c5862825 /sys/dev/mii/inphy.c
parent7404d1b805572739854469252282a4bba4c9ac58 (diff)
do not print media information to dmesg; ifconfig shows it
Diffstat (limited to 'sys/dev/mii/inphy.c')
-rw-r--r--sys/dev/mii/inphy.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/mii/inphy.c b/sys/dev/mii/inphy.c
index 38c2660ca52..0f07f41fe44 100644
--- a/sys/dev/mii/inphy.c
+++ b/sys/dev/mii/inphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inphy.c,v 1.3 1999/07/16 14:59:06 jason Exp $ */
+/* $OpenBSD: inphy.c,v 1.4 1999/07/23 12:39:11 deraadt Exp $ */
/* $NetBSD: inphy.c,v 1.10.6.1 1999/04/23 15:39:09 perry Exp $ */
/*-
@@ -165,13 +165,9 @@ inphyattach(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
}