summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_media.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h
index a271b06bdf3..883c61c183a 100644
--- a/sys/net/if_media.h
+++ b/sys/net/if_media.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_media.h,v 1.22 2006/12/27 12:00:17 kettenis Exp $ */
+/* $OpenBSD: if_media.h,v 1.23 2006/12/29 20:06:31 kettenis Exp $ */
/* $NetBSD: if_media.h,v 1.22 2000/02/17 21:53:16 sommerfeld Exp $ */
/*-
@@ -308,6 +308,9 @@ int ifmedia_baudrate(int);
#define IFM_MSHIFT 16 /* Mode shift */
#define IFM_GMASK 0x0ff00000 /* Global options */
+/* Ethernet flow control mask */
+#define IFM_ETH_FMASK (IFM_FLOW|IFM_ETH_RXPAUSE|IFM_ETH_TXPAUSE)
+
#define IFM_NMIN IFM_ETHER /* lowest Network type */
#define IFM_NMAX IFM_NMASK /* highest Network type */