summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-01-21 18:38:03 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-01-21 18:38:03 +0000
commit0d89f690d9d5da2998ca86d3bb94685d8a7b4ce0 (patch)
tree62d718e5f8658a1e088b31bb1c09cff6901e5fc3 /sys/dev/pci/if_em.c
parent7dfb263fcf2558538f4e3841136e6e34d8a4524b (diff)
Fix typo. From brad@
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r--sys/dev/pci/if_em.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 1238e841017..a504381fcfd 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.164 2007/01/15 22:51:05 kettenis Exp $ */
+/* $OpenBSD: if_em.c,v 1.165 2007/01/21 18:38:02 kettenis Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -841,7 +841,7 @@ em_media_status(struct ifnet *ifp, struct ifmediareq *ifmr)
if ((ar & NWAY_AR_PAUSE) && (lpar & NWAY_LPAR_PAUSE))
ifmr->ifm_active |= IFM_FLOW | IFM_ETH_TXPAUSE |
- IFM_ETH_TXPAUSE;
+ IFM_ETH_RXPAUSE;
else if (!(ar & NWAY_AR_PAUSE) && (ar & NWAY_AR_ASM_DIR) &&
(lpar & NWAY_LPAR_PAUSE) && (lpar & NWAY_LPAR_ASM_DIR))
ifmr->ifm_active |= IFM_FLOW | IFM_ETH_TXPAUSE;