diff options
| author | thorpej <thorpej@NetBSD.org> | 1999-03-23 21:46:47 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 1999-03-23 21:46:47 +0000 |
| commit | 86f87d7c5f6892ea85cd6d92e9e3fb5bb545bf3f (patch) | |
| tree | 214e370a95980e4d71cc150f3f8e1f21226c5e9b /sys/net | |
| parent | 1c99e4196a1faeccdfdd493454704463ac0aa812 (diff) | |
Add a new shared media option, IFM_FLOW, used to enable link-level
flow control. IEEE 802.3x is in mind, but this could be generally
useful for different types of media.
Diffstat (limited to 'sys/net')
| -rw-r--r-- | sys/net/if_media.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h index 15bdb12acf6..e648619b402 100644 --- a/sys/net/if_media.h +++ b/sys/net/if_media.h @@ -1,4 +1,4 @@ -/* $NetBSD: if_media.h,v 1.12 1998/11/02 22:10:26 thorpej Exp $ */ +/* $NetBSD: if_media.h,v 1.13 1999/03/23 21:46:47 thorpej Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -201,6 +201,7 @@ int ifmedia_ioctl __P((struct ifnet *ifp, struct ifreq *ifr, */ #define IFM_FDX 0x00100000 /* Force full duplex */ #define IFM_HDX 0x00200000 /* Force half duplex */ +#define IFM_FLOW 0x00400000 /* enable hardware flow control */ #define IFM_FLAG0 0x01000000 /* Driver defined flag */ #define IFM_FLAG1 0x02000000 /* Driver defined flag */ #define IFM_FLAG2 0x04000000 /* Driver defined flag */ |
