aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx/ql4_fw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_fw.h')
-rw-r--r--drivers/scsi/qla4xxx/ql4_fw.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_fw.h b/drivers/scsi/qla4xxx/ql4_fw.h
index 306065275707..fef311d9caa3 100644
--- a/drivers/scsi/qla4xxx/ql4_fw.h
+++ b/drivers/scsi/qla4xxx/ql4_fw.h
@@ -410,6 +410,7 @@ struct qla_flt_region {
410#define DDB_DS_LOGIN_IN_PROCESS 0x07 410#define DDB_DS_LOGIN_IN_PROCESS 0x07
411#define MBOX_CMD_GET_FW_STATE 0x0069 411#define MBOX_CMD_GET_FW_STATE 0x0069
412#define MBOX_CMD_GET_INIT_FW_CTRL_BLOCK_DEFAULTS 0x006A 412#define MBOX_CMD_GET_INIT_FW_CTRL_BLOCK_DEFAULTS 0x006A
413#define MBOX_CMD_DIAG_TEST 0x0075
413#define MBOX_CMD_GET_SYS_INFO 0x0078 414#define MBOX_CMD_GET_SYS_INFO 0x0078
414#define MBOX_CMD_GET_NVRAM 0x0078 /* For 40xx */ 415#define MBOX_CMD_GET_NVRAM 0x0078 /* For 40xx */
415#define MBOX_CMD_SET_NVRAM 0x0079 /* For 40xx */ 416#define MBOX_CMD_SET_NVRAM 0x0079 /* For 40xx */
@@ -425,8 +426,17 @@ struct qla_flt_region {
425#define MBOX_CMD_GET_IP_ADDR_STATE 0x0091 426#define MBOX_CMD_GET_IP_ADDR_STATE 0x0091
426#define MBOX_CMD_SEND_IPV6_ROUTER_SOL 0x0092 427#define MBOX_CMD_SEND_IPV6_ROUTER_SOL 0x0092
427#define MBOX_CMD_GET_DB_ENTRY_CURRENT_IP_ADDR 0x0093 428#define MBOX_CMD_GET_DB_ENTRY_CURRENT_IP_ADDR 0x0093
429#define MBOX_CMD_SET_PORT_CONFIG 0x0122
430#define MBOX_CMD_GET_PORT_CONFIG 0x0123
431#define MBOX_CMD_SET_LED_CONFIG 0x0125
432#define MBOX_CMD_GET_LED_CONFIG 0x0126
428#define MBOX_CMD_MINIDUMP 0x0129 433#define MBOX_CMD_MINIDUMP 0x0129
429 434
435/* Port Config */
436#define ENABLE_INTERNAL_LOOPBACK 0x04
437#define ENABLE_EXTERNAL_LOOPBACK 0x08
438#define ENABLE_DCBX 0x10
439
430/* Minidump subcommand */ 440/* Minidump subcommand */
431#define MINIDUMP_GET_SIZE_SUBCOMMAND 0x00 441#define MINIDUMP_GET_SIZE_SUBCOMMAND 0x00
432#define MINIDUMP_GET_TMPLT_SUBCOMMAND 0x01 442#define MINIDUMP_GET_TMPLT_SUBCOMMAND 0x01
@@ -535,10 +545,6 @@ struct qla_flt_region {
535#define FLASH_OPT_COMMIT 2 545#define FLASH_OPT_COMMIT 2
536#define FLASH_OPT_RMW_COMMIT 3 546#define FLASH_OPT_RMW_COMMIT 3
537 547
538/* Loopback type */
539#define ENABLE_INTERNAL_LOOPBACK 0x04
540#define ENABLE_EXTERNAL_LOOPBACK 0x08
541
542/* generic defines to enable/disable params */ 548/* generic defines to enable/disable params */
543#define QL4_PARAM_DISABLE 0 549#define QL4_PARAM_DISABLE 0
544#define QL4_PARAM_ENABLE 1 550#define QL4_PARAM_ENABLE 1