aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptbase.h
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2009-05-29 07:17:26 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-09 18:41:36 -0400
commit3eb0822c6740c5564c37a2fe56449cdb4f3d800c (patch)
tree10c2a016020e4363b4db164b09f48530fbcaa517 /drivers/message/fusion/mptbase.h
parentea2a788de4ce5ebab09276e25443f55592af2335 (diff)
[SCSI] mpt fusion: Firmware event implementation using seperate WorkQueue
Now Firmware events are handled by firmware event queue. Previously it was handled in interrupt context/WorkQueue of Linux. Firmware Event handling is restructured and optimized. Signed-off-by: Kashyap Desai <kadesai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r--drivers/message/fusion/mptbase.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h
index 24d60128bfe6..b6efc64e8264 100644
--- a/drivers/message/fusion/mptbase.h
+++ b/drivers/message/fusion/mptbase.h
@@ -694,9 +694,18 @@ typedef struct _MPT_ADAPTER
694 struct net_device *netdev; 694 struct net_device *netdev;
695 struct list_head sas_topology; 695 struct list_head sas_topology;
696 struct mutex sas_topology_mutex; 696 struct mutex sas_topology_mutex;
697
698 struct workqueue_struct *fw_event_q;
699 struct list_head fw_event_list;
700 spinlock_t fw_event_lock;
701 u8 fw_events_off; /* if '1', then ignore events */
702 char fw_event_q_name[20];
703
697 struct mutex sas_discovery_mutex; 704 struct mutex sas_discovery_mutex;
698 u8 sas_discovery_runtime; 705 u8 sas_discovery_runtime;
699 u8 sas_discovery_ignore_events; 706 u8 sas_discovery_ignore_events;
707 struct list_head sas_device_info_list;
708 struct mutex sas_device_info_mutex;
700 u8 sas_discovery_quiesce_io; 709 u8 sas_discovery_quiesce_io;
701 int sas_index; /* index refrencing */ 710 int sas_index; /* index refrencing */
702 MPT_MGMT sas_mgmt; 711 MPT_MGMT sas_mgmt;