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 mask for currently valid ETHERCAP flags



details:   https://anonhg.NetBSD.org/src/rev/898dbbb9c455
branches:  trunk
changeset: 328908:898dbbb9c455
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Apr 23 23:17:22 2014 +0000

description:
add a mask for currently valid ETHERCAP flags

diffstat:

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

diffs (17 lines):

diff -r c6f12ab94615 -r 898dbbb9c455 sys/net/if_ether.h
--- a/sys/net/if_ether.h        Wed Apr 23 21:53:53 2014 +0000
+++ b/sys/net/if_ether.h        Wed Apr 23 23:17:22 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ether.h,v 1.61 2012/10/31 10:17:34 msaitoh Exp $    */
+/*     $NetBSD: if_ether.h,v 1.62 2014/04/23 23:17:22 pooka Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -186,6 +186,7 @@
 #define        ETHERCAP_VLAN_MTU       0x00000001      /* VLAN-compatible MTU */
 #define        ETHERCAP_VLAN_HWTAGGING 0x00000002      /* hardware VLAN tag support */
 #define        ETHERCAP_JUMBO_MTU      0x00000004      /* 9000 byte MTU supported */
+#define        ETHERCAP_MASK           0x00000007
 
 #define        ECCAPBITS               \
        "\020"                  \



Home | Main Index | Thread Index | Old Index