Module Name:    src
Committed By:   msaitoh
Date:           Fri Dec 21 04:43:17 UTC 2018

Modified Files:
        src/sys/net: if_ether.h

Log Message:
 Add ETHERCAP_VLAN_HWFILTER and ETHERCAP_EEE.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/net/if_ether.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if_ether.h
diff -u src/sys/net/if_ether.h:1.75 src/sys/net/if_ether.h:1.76
--- src/sys/net/if_ether.h:1.75	Thu Jun 14 08:00:24 2018
+++ src/sys/net/if_ether.h	Fri Dec 21 04:43:17 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_ether.h,v 1.75 2018/06/14 08:00:24 yamaguchi Exp $	*/
+/*	$NetBSD: if_ether.h,v 1.76 2018/12/21 04:43:17 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -187,16 +187,20 @@ struct ethercom {
 #endif
 };
 
-#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	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_VLAN_HWFILTER	0x00000008 /* iface hw can filter vlan tag */
+#define	ETHERCAP_EEE		0x00000010 /* Energy Efficiency Ethernet */
+#define	ETHERCAP_MASK		0x0000001f
 
 #define	ECCAPBITS		\
 	"\020"			\
 	"\1VLAN_MTU"		\
 	"\2VLAN_HWTAGGING"	\
-	"\3JUMBO_MTU"
+	"\3JUMBO_MTU"		\
+	"\4VLAN_HWFILTER"	\
+	"\5EEE"
 
 /* ioctl() for Ethernet capabilities */
 struct eccapreq {

Reply via email to