aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/aacraid.h
diff options
context:
space:
mode:
authorMark Haverkamp <markh@osdl.org>2005-09-26 16:04:56 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-09-26 18:42:50 -0400
commit131256cf203d0df62014dda8453a70cb6af0d0bb (patch)
tree6e7ba27ba4d4181a312a7b1bec385cf68b501dcd /drivers/scsi/aacraid/aacraid.h
parent2f130980d14cb938226011875ca5224cd46dc1f9 (diff)
[SCSI] aacraid: handle AIF hotplug events (update)
Received from Mark Salyzyn from Adaptec. Hotplug sniffs the AIFs (events) from the adapter and if a container change resulting in the device going offline (container zero), online (container zero completed) or changing capacity (morph) it will take actions by calling the appropriate API. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/aacraid.h')
-rw-r--r--drivers/scsi/aacraid/aacraid.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h
index 6fd5074efa5c..0880f4807fc9 100644
--- a/drivers/scsi/aacraid/aacraid.h
+++ b/drivers/scsi/aacraid/aacraid.h
@@ -780,7 +780,9 @@ struct fsa_dev_info {
780 u64 last; 780 u64 last;
781 u64 size; 781 u64 size;
782 u32 type; 782 u32 type;
783 u32 config_waiting_on;
783 u16 queue_depth; 784 u16 queue_depth;
785 u8 config_needed;
784 u8 valid; 786 u8 valid;
785 u8 ro; 787 u8 ro;
786 u8 locked; 788 u8 locked;
@@ -1715,6 +1717,7 @@ extern struct aac_common aac_config;
1715#define AifCmdJobProgress 2 /* Progress report */ 1717#define AifCmdJobProgress 2 /* Progress report */
1716#define AifJobCtrZero 101 /* Array Zero progress */ 1718#define AifJobCtrZero 101 /* Array Zero progress */
1717#define AifJobStsSuccess 1 /* Job completes */ 1719#define AifJobStsSuccess 1 /* Job completes */
1720#define AifJobStsRunning 102 /* Job running */
1718#define AifCmdAPIReport 3 /* Report from other user of API */ 1721#define AifCmdAPIReport 3 /* Report from other user of API */
1719#define AifCmdDriverNotify 4 /* Notify host driver of event */ 1722#define AifCmdDriverNotify 4 /* Notify host driver of event */
1720#define AifDenMorphComplete 200 /* A morph operation completed */ 1723#define AifDenMorphComplete 200 /* A morph operation completed */
@@ -1785,6 +1788,7 @@ int fib_adapter_complete(struct fib * fibptr, unsigned short size);
1785struct aac_driver_ident* aac_get_driver_ident(int devtype); 1788struct aac_driver_ident* aac_get_driver_ident(int devtype);
1786int aac_get_adapter_info(struct aac_dev* dev); 1789int aac_get_adapter_info(struct aac_dev* dev);
1787int aac_send_shutdown(struct aac_dev *dev); 1790int aac_send_shutdown(struct aac_dev *dev);
1791int probe_container(struct aac_dev *dev, int cid);
1788extern int numacb; 1792extern int numacb;
1789extern int acbsize; 1793extern int acbsize;
1790extern char aac_driver_version[]; 1794extern char aac_driver_version[];