summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/mii/mii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/mii.c b/sys/dev/mii/mii.c
index 9eb17b0f554..f814256f5e3 100644
--- a/sys/dev/mii/mii.c
+++ b/sys/dev/mii/mii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mii.c,v 1.3 1999/01/04 03:57:55 jason Exp $ */
+/* $OpenBSD: mii.c,v 1.4 1999/02/04 23:00:57 jason Exp $ */
/* $NetBSD: mii.c,v 1.9 1998/11/05 04:08:02 thorpej Exp $ */
/*-
@@ -209,7 +209,7 @@ mii_media_from_bmcr(bmcr)
rv |= IFM_100_TX;
else
rv |= IFM_10_T;
- if (bmcr & IFM_FDX)
+ if (bmcr & BMCR_FDX)
rv |= IFM_FDX;
return (rv);