Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Add a new shared media option, IFM_FLOW, used to ena...



details:   https://anonhg.NetBSD.org/src/rev/9307660f98c2
branches:  trunk
changeset: 467371:9307660f98c2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Mar 23 21:46:47 1999 +0000

description:
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:

 sys/net/if_media.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4309a4b33d28 -r 9307660f98c2 sys/net/if_media.h
--- a/sys/net/if_media.h        Tue Mar 23 21:41:07 1999 +0000
+++ b/sys/net/if_media.h        Tue Mar 23 21:46:47 1999 +0000
@@ -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 @@
  */
 #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 */



Home | Main Index | Thread Index | Old Index