summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/aacraid.h
diff options
context:
space:
mode:
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>2017-02-03 00:53:25 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-02-03 16:35:03 +0100
commit3d77d84044783533581eec7b6229df1154c0b55f (patch)
tree8857c2b7fdfa6623ab4cabbc856d84c7c9f81b2e /drivers/scsi/aacraid/aacraid.h
parentscsi: aacraid: Reworked aac_command_thread (diff)
downloadlinux-3d77d84044783533581eec7b6229df1154c0b55f.tar.xz
linux-3d77d84044783533581eec7b6229df1154c0b55f.zip
scsi: aacraid: Added support for periodic wellness sync
This patch adds a new functions that periodically sync the time of host to the adapter. In addition also informs the adapter that the driver is alive and kicking. Only applicable to the HBA1000 and SMARTIOC2000. Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> Signed-off-by: Dave Carroll <David.Carroll@microsemi.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/aacraid.h')
-rw-r--r--drivers/scsi/aacraid/aacraid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h
index b54c1bfd81a7..05884e62672b 100644
--- a/drivers/scsi/aacraid/aacraid.h
+++ b/drivers/scsi/aacraid/aacraid.h
@@ -88,6 +88,9 @@ enum {
#define AAC_MAX_NATIVE_SIZE 2048
#define CISS_REPORT_PHYSICAL_LUNS 0xc3
+#define WRITE_HOST_WELLNESS 0xa5
+#define BMIC_IN 0x26
+#define BMIC_OUT 0x27
struct aac_ciss_phys_luns_resp {
u8 list_length[4]; /* LUN list length (N-7, big endian) */