aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/mcdi_pcol.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/sfc/mcdi_pcol.h')
-rw-r--r--drivers/net/ethernet/sfc/mcdi_pcol.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi_pcol.h b/drivers/net/ethernet/sfc/mcdi_pcol.h
index db4beed9766..9d426d0457b 100644
--- a/drivers/net/ethernet/sfc/mcdi_pcol.h
+++ b/drivers/net/ethernet/sfc/mcdi_pcol.h
@@ -289,6 +289,7 @@
289#define MCDI_EVENT_CODE_TX_FLUSH 0xc /* enum */ 289#define MCDI_EVENT_CODE_TX_FLUSH 0xc /* enum */
290#define MCDI_EVENT_CODE_PTP_RX 0xd /* enum */ 290#define MCDI_EVENT_CODE_PTP_RX 0xd /* enum */
291#define MCDI_EVENT_CODE_PTP_FAULT 0xe /* enum */ 291#define MCDI_EVENT_CODE_PTP_FAULT 0xe /* enum */
292#define MCDI_EVENT_CODE_PTP_PPS 0xf /* enum */
292#define MCDI_EVENT_CMDDONE_DATA_OFST 0 293#define MCDI_EVENT_CMDDONE_DATA_OFST 0
293#define MCDI_EVENT_CMDDONE_DATA_LBN 0 294#define MCDI_EVENT_CMDDONE_DATA_LBN 0
294#define MCDI_EVENT_CMDDONE_DATA_WIDTH 32 295#define MCDI_EVENT_CMDDONE_DATA_WIDTH 32
@@ -491,12 +492,12 @@
491 492
492/* MC_CMD_GET_FPGAREG_OUT msgresponse */ 493/* MC_CMD_GET_FPGAREG_OUT msgresponse */
493#define MC_CMD_GET_FPGAREG_OUT_LENMIN 1 494#define MC_CMD_GET_FPGAREG_OUT_LENMIN 1
494#define MC_CMD_GET_FPGAREG_OUT_LENMAX 255 495#define MC_CMD_GET_FPGAREG_OUT_LENMAX 252
495#define MC_CMD_GET_FPGAREG_OUT_LEN(num) (0+1*(num)) 496#define MC_CMD_GET_FPGAREG_OUT_LEN(num) (0+1*(num))
496#define MC_CMD_GET_FPGAREG_OUT_BUFFER_OFST 0 497#define MC_CMD_GET_FPGAREG_OUT_BUFFER_OFST 0
497#define MC_CMD_GET_FPGAREG_OUT_BUFFER_LEN 1 498#define MC_CMD_GET_FPGAREG_OUT_BUFFER_LEN 1
498#define MC_CMD_GET_FPGAREG_OUT_BUFFER_MINNUM 1 499#define MC_CMD_GET_FPGAREG_OUT_BUFFER_MINNUM 1
499#define MC_CMD_GET_FPGAREG_OUT_BUFFER_MAXNUM 255 500#define MC_CMD_GET_FPGAREG_OUT_BUFFER_MAXNUM 252
500 501
501 502
502/***********************************/ 503/***********************************/
@@ -507,13 +508,13 @@
507 508
508/* MC_CMD_PUT_FPGAREG_IN msgrequest */ 509/* MC_CMD_PUT_FPGAREG_IN msgrequest */
509#define MC_CMD_PUT_FPGAREG_IN_LENMIN 5 510#define MC_CMD_PUT_FPGAREG_IN_LENMIN 5
510#define MC_CMD_PUT_FPGAREG_IN_LENMAX 255 511#define MC_CMD_PUT_FPGAREG_IN_LENMAX 252
511#define MC_CMD_PUT_FPGAREG_IN_LEN(num) (4+1*(num)) 512#define MC_CMD_PUT_FPGAREG_IN_LEN(num) (4+1*(num))
512#define MC_CMD_PUT_FPGAREG_IN_ADDR_OFST 0 513#define MC_CMD_PUT_FPGAREG_IN_ADDR_OFST 0
513#define MC_CMD_PUT_FPGAREG_IN_BUFFER_OFST 4 514#define MC_CMD_PUT_FPGAREG_IN_BUFFER_OFST 4
514#define MC_CMD_PUT_FPGAREG_IN_BUFFER_LEN 1 515#define MC_CMD_PUT_FPGAREG_IN_BUFFER_LEN 1
515#define MC_CMD_PUT_FPGAREG_IN_BUFFER_MINNUM 1 516#define MC_CMD_PUT_FPGAREG_IN_BUFFER_MINNUM 1
516#define MC_CMD_PUT_FPGAREG_IN_BUFFER_MAXNUM 251 517#define MC_CMD_PUT_FPGAREG_IN_BUFFER_MAXNUM 248
517 518
518/* MC_CMD_PUT_FPGAREG_OUT msgresponse */ 519/* MC_CMD_PUT_FPGAREG_OUT msgresponse */
519#define MC_CMD_PUT_FPGAREG_OUT_LEN 0 520#define MC_CMD_PUT_FPGAREG_OUT_LEN 0
@@ -560,7 +561,7 @@
560 561
561/* MC_CMD_PTP_IN_TRANSMIT msgrequest */ 562/* MC_CMD_PTP_IN_TRANSMIT msgrequest */
562#define MC_CMD_PTP_IN_TRANSMIT_LENMIN 13 563#define MC_CMD_PTP_IN_TRANSMIT_LENMIN 13
563#define MC_CMD_PTP_IN_TRANSMIT_LENMAX 255 564#define MC_CMD_PTP_IN_TRANSMIT_LENMAX 252
564#define MC_CMD_PTP_IN_TRANSMIT_LEN(num) (12+1*(num)) 565#define MC_CMD_PTP_IN_TRANSMIT_LEN(num) (12+1*(num))
565/* MC_CMD_PTP_IN_CMD_OFST 0 */ 566/* MC_CMD_PTP_IN_CMD_OFST 0 */
566/* MC_CMD_PTP_IN_PERIPH_ID_OFST 4 */ 567/* MC_CMD_PTP_IN_PERIPH_ID_OFST 4 */
@@ -568,7 +569,7 @@
568#define MC_CMD_PTP_IN_TRANSMIT_PACKET_OFST 12 569#define MC_CMD_PTP_IN_TRANSMIT_PACKET_OFST 12
569#define MC_CMD_PTP_IN_TRANSMIT_PACKET_LEN 1 570#define MC_CMD_PTP_IN_TRANSMIT_PACKET_LEN 1
570#define MC_CMD_PTP_IN_TRANSMIT_PACKET_MINNUM 1 571#define MC_CMD_PTP_IN_TRANSMIT_PACKET_MINNUM 1
571#define MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM 243 572#define MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM 240
572 573
573/* MC_CMD_PTP_IN_READ_NIC_TIME msgrequest */ 574/* MC_CMD_PTP_IN_READ_NIC_TIME msgrequest */
574#define MC_CMD_PTP_IN_READ_NIC_TIME_LEN 8 575#define MC_CMD_PTP_IN_READ_NIC_TIME_LEN 8
@@ -1145,7 +1146,7 @@
1145 1146
1146/* MC_CMD_PUTS_IN msgrequest */ 1147/* MC_CMD_PUTS_IN msgrequest */
1147#define MC_CMD_PUTS_IN_LENMIN 13 1148#define MC_CMD_PUTS_IN_LENMIN 13
1148#define MC_CMD_PUTS_IN_LENMAX 255 1149#define MC_CMD_PUTS_IN_LENMAX 252
1149#define MC_CMD_PUTS_IN_LEN(num) (12+1*(num)) 1150#define MC_CMD_PUTS_IN_LEN(num) (12+1*(num))
1150#define MC_CMD_PUTS_IN_DEST_OFST 0 1151#define MC_CMD_PUTS_IN_DEST_OFST 0
1151#define MC_CMD_PUTS_IN_UART_LBN 0 1152#define MC_CMD_PUTS_IN_UART_LBN 0
@@ -1157,7 +1158,7 @@
1157#define MC_CMD_PUTS_IN_STRING_OFST 12 1158#define MC_CMD_PUTS_IN_STRING_OFST 12
1158#define MC_CMD_PUTS_IN_STRING_LEN 1 1159#define MC_CMD_PUTS_IN_STRING_LEN 1
1159#define MC_CMD_PUTS_IN_STRING_MINNUM 1 1160#define MC_CMD_PUTS_IN_STRING_MINNUM 1
1160#define MC_CMD_PUTS_IN_STRING_MAXNUM 243 1161#define MC_CMD_PUTS_IN_STRING_MAXNUM 240
1161 1162
1162/* MC_CMD_PUTS_OUT msgresponse */ 1163/* MC_CMD_PUTS_OUT msgresponse */
1163#define MC_CMD_PUTS_OUT_LEN 0 1164#define MC_CMD_PUTS_OUT_LEN 0
@@ -1947,12 +1948,12 @@
1947 1948
1948/* MC_CMD_NVRAM_READ_OUT msgresponse */ 1949/* MC_CMD_NVRAM_READ_OUT msgresponse */
1949#define MC_CMD_NVRAM_READ_OUT_LENMIN 1 1950#define MC_CMD_NVRAM_READ_OUT_LENMIN 1
1950#define MC_CMD_NVRAM_READ_OUT_LENMAX 255 1951#define MC_CMD_NVRAM_READ_OUT_LENMAX 252
1951#define MC_CMD_NVRAM_READ_OUT_LEN(num) (0+1*(num)) 1952#define MC_CMD_NVRAM_READ_OUT_LEN(num) (0+1*(num))
1952#define MC_CMD_NVRAM_READ_OUT_READ_BUFFER_OFST 0 1953#define MC_CMD_NVRAM_READ_OUT_READ_BUFFER_OFST 0
1953#define MC_CMD_NVRAM_READ_OUT_READ_BUFFER_LEN 1 1954#define MC_CMD_NVRAM_READ_OUT_READ_BUFFER_LEN 1
1954#define MC_CMD_NVRAM_READ_OUT_READ_BUFFER_MINNUM 1 1955#define MC_CMD_NVRAM_READ_OUT_READ_BUFFER_MINNUM 1
1955#define MC_CMD_NVRAM_READ_OUT_READ_BUFFER_MAXNUM 255 1956#define MC_CMD_NVRAM_READ_OUT_READ_BUFFER_MAXNUM 252
1956 1957
1957 1958
1958/***********************************/ 1959/***********************************/
@@ -1963,7 +1964,7 @@
1963 1964
1964/* MC_CMD_NVRAM_WRITE_IN msgrequest */ 1965/* MC_CMD_NVRAM_WRITE_IN msgrequest */
1965#define MC_CMD_NVRAM_WRITE_IN_LENMIN 13 1966#define MC_CMD_NVRAM_WRITE_IN_LENMIN 13
1966#define MC_CMD_NVRAM_WRITE_IN_LENMAX 255 1967#define MC_CMD_NVRAM_WRITE_IN_LENMAX 252
1967#define MC_CMD_NVRAM_WRITE_IN_LEN(num) (12+1*(num)) 1968#define MC_CMD_NVRAM_WRITE_IN_LEN(num) (12+1*(num))
1968#define MC_CMD_NVRAM_WRITE_IN_TYPE_OFST 0 1969#define MC_CMD_NVRAM_WRITE_IN_TYPE_OFST 0
1969/* Enum values, see field(s): */ 1970/* Enum values, see field(s): */
@@ -1973,7 +1974,7 @@
1973#define MC_CMD_NVRAM_WRITE_IN_WRITE_BUFFER_OFST 12 1974#define MC_CMD_NVRAM_WRITE_IN_WRITE_BUFFER_OFST 12
1974#define MC_CMD_NVRAM_WRITE_IN_WRITE_BUFFER_LEN 1 1975#define MC_CMD_NVRAM_WRITE_IN_WRITE_BUFFER_LEN 1
1975#define MC_CMD_NVRAM_WRITE_IN_WRITE_BUFFER_MINNUM 1 1976#define MC_CMD_NVRAM_WRITE_IN_WRITE_BUFFER_MINNUM 1
1976#define MC_CMD_NVRAM_WRITE_IN_WRITE_BUFFER_MAXNUM 243 1977#define MC_CMD_NVRAM_WRITE_IN_WRITE_BUFFER_MAXNUM 240
1977 1978
1978/* MC_CMD_NVRAM_WRITE_OUT msgresponse */ 1979/* MC_CMD_NVRAM_WRITE_OUT msgresponse */
1979#define MC_CMD_NVRAM_WRITE_OUT_LEN 0 1980#define MC_CMD_NVRAM_WRITE_OUT_LEN 0
@@ -2305,13 +2306,13 @@
2305 2306
2306/* MC_CMD_GET_PHY_MEDIA_INFO_OUT msgresponse */ 2307/* MC_CMD_GET_PHY_MEDIA_INFO_OUT msgresponse */
2307#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_LENMIN 5 2308#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_LENMIN 5
2308#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_LENMAX 255 2309#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_LENMAX 252
2309#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_LEN(num) (4+1*(num)) 2310#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_LEN(num) (4+1*(num))
2310#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATALEN_OFST 0 2311#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATALEN_OFST 0
2311#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATA_OFST 4 2312#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATA_OFST 4
2312#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATA_LEN 1 2313#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATA_LEN 1
2313#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATA_MINNUM 1 2314#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATA_MINNUM 1
2314#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATA_MAXNUM 251 2315#define MC_CMD_GET_PHY_MEDIA_INFO_OUT_DATA_MAXNUM 248
2315 2316
2316 2317
2317/***********************************/ 2318/***********************************/