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/06e1b615847f
branches:  trunk
changeset: 1010443:06e1b615847f
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 db4248a61383 -r 06e1b615847f 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