summaryrefslogtreecommitdiff
path: root/sys/dev/mii/dcphy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mii/dcphy.c')
-rw-r--r--sys/dev/mii/dcphy.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/mii/dcphy.c b/sys/dev/mii/dcphy.c
index 10916328794..e99bb8a1174 100644
--- a/sys/dev/mii/dcphy.c
+++ b/sys/dev/mii/dcphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dcphy.c,v 1.7 2002/05/04 11:30:06 fgsch Exp $ */
+/* $OpenBSD: dcphy.c,v 1.8 2002/10/20 16:46:28 henning Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -168,6 +168,9 @@ dcphy_attach(parent, self, aux)
break;
}
+ if (dc_sc->dc_type == DC_TYPE_21145)
+ sc->mii_capabilities = BMSR_10THDX;
+
sc->mii_capabilities &= ma->mii_capmask;
if (sc->mii_capabilities & BMSR_MEDIAMASK)
mii_phy_add_media(sc);