summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorJoe Carnuccio <joe.carnuccio@qlogic.com>2014-04-11 16:54:17 -0400
committerChristoph Hellwig <hch@lst.de>2014-05-19 13:31:01 +0200
commite8887c51f01911f3063e65c229e1f3be102031ba (patch)
treea7a98f09d4cd2e0319f613616824b5423a1de679 /drivers/scsi/qla2xxx/qla_def.h
parent7012532dc8cdbcfb0d13d03ccc2ec18416504f29 (diff)
downloadlinux-e8887c51f01911f3063e65c229e1f3be102031ba.tar.gz
linux-e8887c51f01911f3063e65c229e1f3be102031ba.tar.bz2
linux-e8887c51f01911f3063e65c229e1f3be102031ba.zip
qla2xxx: Add ISP8044 serdes bsg interface.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index bab1cf12d1e9..23268277f09c 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -965,6 +965,13 @@ struct mbx_cmd_32 {
*/
#define MBC_WRITE_MPI_REGISTER 0x01 /* Write MPI Register. */
+/*
+ * ISP8044 mailbox commands
+ */
+#define MBC_SET_GET_ETH_SERDES_REG 0x150
+#define HCS_WRITE_SERDES 0x3
+#define HCS_READ_SERDES 0x4
+
/* Firmware return data sizes */
#define FCAL_MAP_SIZE 128