summaryrefslogtreecommitdiffstats
path: root/libs/NCSI/include
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-05-04 10:34:10 -0600
committerEvan Lojewski <github@meklort.com>2019-05-04 10:34:10 -0600
commit418c47d20e0fe1b9074490f3e16109f80355cf3b (patch)
tree89f5a6e88dc3f2b9ed2e416231e6eb1ec52b3da6 /libs/NCSI/include
parentf3bcf9a4af7ada743fae84c3572d9e4cc1d44ae5 (diff)
downloadbcm5719-ortega-418c47d20e0fe1b9074490f3e16109f80355cf3b.tar.gz
bcm5719-ortega-418c47d20e0fe1b9074490f3e16109f80355cf3b.zip
Begin cleaning up tx/rx code
Diffstat (limited to 'libs/NCSI/include')
-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