OSDN Git Service

if_ether.h: add EtherCAT Ethertype
authorDaniel Braunwarth <daniel@braunwarth.dev>
Mon, 28 Feb 2022 13:30:29 +0000 (14:30 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Mar 2022 02:29:27 +0000 (18:29 -0800)
Add the Ethertype for EtherCAT protocol.

Signed-off-by: Daniel Braunwarth <daniel@braunwarth.dev>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/if_ether.h

index 4f4ed35..1d0bccc 100644 (file)
@@ -89,6 +89,7 @@
 #define ETH_P_PROFINET 0x8892          /* PROFINET                     */
 #define ETH_P_REALTEK  0x8899          /* Multiple proprietary protocols */
 #define ETH_P_AOE      0x88A2          /* ATA over Ethernet            */
+#define ETH_P_ETHERCAT 0x88A4          /* EtherCAT                     */
 #define ETH_P_8021AD   0x88A8          /* 802.1ad Service VLAN         */
 #define ETH_P_802_EX1  0x88B5          /* 802.1 Local Experimental 1.  */
 #define ETH_P_PREAUTH  0x88C7          /* 802.11 Preauthentication */