summaryrefslogtreecommitdiff
path: root/sys/net/if_media.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_media.h')
-rw-r--r--sys/net/if_media.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h
index c56abd96413..7f9df522507 100644
--- a/sys/net/if_media.h
+++ b/sys/net/if_media.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_media.h,v 1.14 2004/06/27 03:44:50 millert Exp $ */
+/* $OpenBSD: if_media.h,v 1.15 2004/10/07 22:21:20 brad Exp $ */
/* $NetBSD: if_media.h,v 1.22 2000/02/17 21:53:16 sommerfeld Exp $ */
/*-
@@ -182,6 +182,8 @@ int ifmedia_baudrate(int);
#define IFM_1000_TX IFM_1000_T /* for backwards compatibility */
#define IFM_HPNA_1 17 /* HomePNA 1.0 (1Mb/s) */
+#define IFM_ETH_MASTER 0x00000100 /* master mode (1000baseT) */
+
/*
* Token ring
*/
@@ -467,6 +469,8 @@ struct ifmedia_description {
{ IFM_LOOP, "hw-loopback"}, \
{ IFM_LOOP, "loop" }, \
\
+ { IFM_ETHER|IFM_ETH_MASTER, "master" }, \
+ \
{ IFM_TOKEN|IFM_TOK_ETR, "EarlyTokenRelease" }, \
{ IFM_TOKEN|IFM_TOK_ETR, "ETR" }, \
{ IFM_TOKEN|IFM_TOK_SRCRT, "SourceRouting" }, \