Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mii Add MIIF_RXID and MIIF_TXID flags to signal that...



details:   https://anonhg.NetBSD.org/src/rev/37472f2207d2
branches:  trunk
changeset: 933491:37472f2207d2
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon May 25 19:47:58 2020 +0000

description:
Add MIIF_RXID and MIIF_TXID flags to signal that RX or TX delays are required, from OpenBSD.

diffstat:

 sys/dev/mii/miivar.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 7b4d54d5e308 -r 37472f2207d2 sys/dev/mii/miivar.h
--- a/sys/dev/mii/miivar.h      Mon May 25 19:46:20 2020 +0000
+++ b/sys/dev/mii/miivar.h      Mon May 25 19:47:58 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: miivar.h,v 1.70 2020/03/15 23:04:50 thorpej Exp $      */
+/*     $NetBSD: miivar.h,v 1.71 2020/05/25 19:47:58 jmcneill Exp $     */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001, 2020 The NetBSD Foundation, Inc.
@@ -175,6 +175,8 @@
 #define        MIIF_FORCEANEG  0x0400          /* force auto-negotiation */
 #define        MIIF_PROBING    0x0800          /* PHY probe in-progress */
 #define        MIIF_EXITING    0x1000          /* MII is exiting */
+#define        MIIF_RXID       0x2000          /* add RX delay */
+#define        MIIF_TXID       0x4000          /* add TX delay */
 
 #define        MIIF_INHERIT_MASK (MIIF_NOISOLATE | MIIF_NOLOOP | MIIF_AUTOTSLEEP)
 



Home | Main Index | Thread Index | Old Index