summaryrefslogtreecommitdiff
path: root/net/ncsi/ncsi-pkt.h
diff options
context:
space:
mode:
authorIvan Mikhaylov <i.mikhaylov@yadro.com>2021-08-30 20:18:06 +0300
committerJakub Kicinski <kuba@kernel.org>2021-09-02 03:18:56 +0300
commit205b95fe658ddba25236c60da777f67b4eec3fd3 (patch)
treeaecdf475823d921d2a6c2ac374edfab9961d9b20 /net/ncsi/ncsi-pkt.h
parent5240118f08a07669537677be19edbf008682f8bd (diff)
downloadlinux-205b95fe658ddba25236c60da777f67b4eec3fd3.tar.xz
net/ncsi: add get MAC address command to get Intel i210 MAC address
This patch adds OEM Intel GMA command and response handler for it. Signed-off-by: Brad Ho <Brad_Ho@phoenix.com> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Link: https://lore.kernel.org/r/20210830171806.119857-2-i.mikhaylov@yadro.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ncsi/ncsi-pkt.h')
-rw-r--r--net/ncsi/ncsi-pkt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ncsi/ncsi-pkt.h b/net/ncsi/ncsi-pkt.h
index 80938b338fee..ba66c7dc3a21 100644
--- a/net/ncsi/ncsi-pkt.h
+++ b/net/ncsi/ncsi-pkt.h
@@ -178,6 +178,12 @@ struct ncsi_rsp_oem_bcm_pkt {
unsigned char data[]; /* Cmd specific Data */
};
+/* Intel Response Data */
+struct ncsi_rsp_oem_intel_pkt {
+ unsigned char cmd; /* OEM Command ID */
+ unsigned char data[]; /* Cmd specific Data */
+};
+
/* Get Link Status */
struct ncsi_rsp_gls_pkt {
struct ncsi_rsp_pkt_hdr rsp; /* Response header */