summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-02-04 23:00:58 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-02-04 23:00:58 +0000
commit267292d4192cb98b1b2277b376bb932684cc6cda (patch)
treea1789456c58ae38e77ef31152f6d77ddac0b59b6 /sys
parenta216c7962b1001ac76e31ba2894bf1c4351788f9 (diff)
Fix bit test; from netbsd.
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);