diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2009-05-29 07:22:37 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-09 18:43:06 -0400 |
commit | 2f187862e579f1f5e883188cab6bd867cb60387f (patch) | |
tree | 85785a2e0e176da653323f1a8cf133f7e9e86ca6 /drivers/message/fusion/mptscsih.h | |
parent | eedf92b99806aeff18dc21c9dfb28999ce374413 (diff) |
[SCSI] mpt fusion: Code Cleanup patch
Resending patch considering Grants G's code review.
Main goal to submit this patch is code cleaup.
1. Better driver debug prints and code indentation.
2. fault_reset_work_lock is not used anywhere. driver is using taskmgmt_lock
instead of fault_reset_work_lock.
3. setting pci_set_drvdata properly.
4. Ingore config request when IOC is in reset state.( ioc_reset_in_progress
is set).
5. Init/clear managment frame proprely.(INITIALIZE_MGMT_STATUS and
CLEAR_MGMT_STATUS)
Signed-off-by: Kashyap Desai <kadesai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/message/fusion/mptscsih.h')
-rw-r--r-- | drivers/message/fusion/mptscsih.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptscsih.h b/drivers/message/fusion/mptscsih.h index 91e9e9fcd0e4..572739565f6a 100644 --- a/drivers/message/fusion/mptscsih.h +++ b/drivers/message/fusion/mptscsih.h | |||
@@ -90,6 +90,7 @@ | |||
90 | 90 | ||
91 | #endif | 91 | #endif |
92 | 92 | ||
93 | |||
93 | typedef struct _internal_cmd { | 94 | typedef struct _internal_cmd { |
94 | char *data; /* data pointer */ | 95 | char *data; /* data pointer */ |
95 | dma_addr_t data_dma; /* data dma address */ | 96 | dma_addr_t data_dma; /* data dma address */ |