Add an Ethernet option bit for master mode (for 1000baseTX, the link
master provides the clock -- this is normally the switch, but if you are doing back-to-back NICs, you need to tell one side to be the master).
This commit is contained in:
parent
628a67ab31
commit
a6e732946b
|
@ -1,7 +1,7 @@
|
|||
/* $NetBSD: if_media.h,v 1.23 2000/03/06 20:50:29 thorpej Exp $ */
|
||||
/* $NetBSD: if_media.h,v 1.24 2001/05/31 16:30:04 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
|
||||
* Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This code is derived from software contributed to The NetBSD Foundation
|
||||
|
@ -180,6 +180,8 @@ int ifmedia_baudrate __P((int));
|
|||
#define IFM_1000_TX 16 /* 1000baseTX - 4 pair cat 5 */
|
||||
#define IFM_HPNA_1 17 /* HomePNA 1.0 (1Mb/s) */
|
||||
|
||||
#define IFM_ETH_MASTER 0x00000100 /* master mode (1000baseTX) */
|
||||
|
||||
/*
|
||||
* Token ring
|
||||
*/
|
||||
|
@ -400,6 +402,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" }, \
|
||||
|
|
Loading…
Reference in New Issue