summaryrefslogtreecommitdiff
path: root/net/ncsi/Kconfig
diff options
context:
space:
mode:
authorVijay Khemka <vijaykhemka@fb.com>2018-10-16 12:13:19 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-17 22:14:54 -0700
commitcb10c7c0dfd9e6fd3d69ced98b05cbd198c48cf6 (patch)
tree937a12372c7962c90d4c27863225ea615267e362 /net/ncsi/Kconfig
parent1010c17ec5b496b54785dfb96f739d0f880484b3 (diff)
net/ncsi: Add NCSI Broadcom OEM command
This patch adds OEM Broadcom commands and response handling. It also defines OEM Get MAC Address handler to get and configure the device. ncsi_oem_gma_handler_bcm: This handler send NCSI broadcom command for getting mac address. ncsi_rsp_handler_oem_bcm: This handles response received for all broadcom OEM commands. ncsi_rsp_handler_oem_bcm_gma: This handles get mac address response and set it to device. Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ncsi/Kconfig')
-rw-r--r--net/ncsi/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ncsi/Kconfig b/net/ncsi/Kconfig
index 08a8a6031fd7..7f2b46108a24 100644
--- a/net/ncsi/Kconfig
+++ b/net/ncsi/Kconfig
@@ -10,3 +10,9 @@ config NET_NCSI
support. Enable this only if your system connects to a network
device via NCSI and the ethernet driver you're using supports
the protocol explicitly.
+config NCSI_OEM_CMD_GET_MAC
+ bool "Get NCSI OEM MAC Address"
+ depends on NET_NCSI
+ ---help---
+ This allows to get MAC address from NCSI firmware and set them back to
+ controller.