diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-05-11 03:01:30 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-05-11 03:01:30 +0000 |
commit | 164134f8f59a73f9a2f251a14785239744989316 (patch) | |
tree | a0d93e90c57edcbfcc409ddb34cbdc19bd170b52 /sys/dev/ic/xl.c | |
parent | 289136ba460fcc860a0526ffff11e3ec1f0889c9 (diff) |
Fix a typo with the media duplex flag being used for AUI connections
so that the status routine will properly display half duplex instead
of full.
ok henning@ krw@
Diffstat (limited to 'sys/dev/ic/xl.c')
-rw-r--r-- | sys/dev/ic/xl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c index f2f1b9d3f2c..898e27e4cbf 100644 --- a/sys/dev/ic/xl.c +++ b/sys/dev/ic/xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xl.c,v 1.78 2007/05/19 16:51:57 kettenis Exp $ */ +/* $OpenBSD: xl.c,v 1.79 2008/05/11 03:01:29 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2230,7 +2230,7 @@ xl_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr) if (CSR_READ_1(sc, XL_W3_MAC_CTRL) & XL_MACCTRL_DUPLEX) ifmr->ifm_active |= IFM_FDX; else - ifmr->ifm_active |= IFM_FDX; + ifmr->ifm_active |= IFM_HDX; } else ifmr->ifm_active = IFM_ETHER|IFM_10_5; break; |