summaryrefslogtreecommitdiffstats
path: root/libs/NCSI/include/Ethernet.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/NCSI/include/Ethernet.h')
-rw-r--r--libs/NCSI/include/Ethernet.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/libs/NCSI/include/Ethernet.h b/libs/NCSI/include/Ethernet.h
index 358dcbf..632499b 100644
--- a/libs/NCSI/include/Ethernet.h
+++ b/libs/NCSI/include/Ethernet.h
@@ -190,6 +190,25 @@ typedef struct {
uint32_t OEMLinkSettings_Low:16;
} SetLink_t;
+typedef struct {
+ // Bytes 0 - 27
+ ControlPacketHeader_t header;
+
+ // Byte 28 - 31
+ uint32_t MAC54:16;
+ uint32_t headerPadding:16;
+
+ // Bytes 32 - 35
+ uint32_t MAC10:16;
+ uint32_t MAC32:16;
+
+ // Bytes 36 - 39
+ uint32_t pad:16;
+ uint32_t Enable:1;
+ uint32_t Rsvd:4;
+ uint32_t AT:3;
+ uint32_t MACNumber:8;
+} SetMACAddr_t;
typedef struct
@@ -297,6 +316,8 @@ typedef union {
SetLink_t setLink;
+ SetMACAddr_t setMACAddr;
+
/* Response Packets */
ResponsePacketHeader_t responsePacket;
OpenPOWER on IntegriCloud