net/qede/base: add xcvr type and DON FW defines
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 7 Oct 2017 06:30:56 +0000 (23:30 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:58 +0000 (01:36 +0100)
Add support to firmware for:
 - New SFP type 1000BaseT
 - DON (Diag Over Network). This feature implements a server side for
   process data access commands over Ethernet.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/mcp_public.h

index 799357a..023ae5b 100644 (file)
@@ -779,6 +779,7 @@ struct public_port {
 
 #define ETH_TRANSCEIVER_TYPE_4x10G                     0x1f
 #define ETH_TRANSCEIVER_TYPE_4x25G_CR                  0x20
+#define ETH_TRANSCEIVER_TYPE_1000BASET                 0x21
 #define ETH_TRANSCEIVER_TYPE_MULTI_RATE_10G_40G_SR     0x30
 #define ETH_TRANSCEIVER_TYPE_MULTI_RATE_10G_40G_CR     0x31
 #define ETH_TRANSCEIVER_TYPE_MULTI_RATE_10G_40G_LR     0x32
@@ -1442,6 +1443,9 @@ struct public_drv_mb {
 /* Param: [0:23] Attribute key, [24:31] Attribute sub command */
 #define DRV_MSG_CODE_ATTRIBUTE                 0x00350000
 
+/* Param: Password len. Union: Plain Password */
+#define DRV_MSG_CODE_ENCRYPT_PASSWORD          0x00360000
+
 #define DRV_MSG_SEQ_NUMBER_MASK                 0x0000ffff
 
        u32 drv_mb_param;