diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2011-05-03 14:59:10 -0500 |
---|---|---|
committer | James Bottomley <jbottomley@parallels.com> | 2011-05-17 11:04:11 +0400 |
commit | 580ada3c1e2f23b4b0f3c254cae3eb278f92d494 (patch) | |
tree | c66b3f9874956d5d2730b091157430d5e584da1e /drivers/scsi/hpsa_cmd.h | |
parent | a2a431a4fd3b11c6808933ca1bdb2d28a8fa0634 (diff) | |
download | linux-580ada3c1e2f23b4b0f3c254cae3eb278f92d494.tar.gz linux-580ada3c1e2f23b4b0f3c254cae3eb278f92d494.tar.bz2 linux-580ada3c1e2f23b4b0f3c254cae3eb278f92d494.zip |
[SCSI] hpsa: do a better job of detecting controller reset failure
Detect failure of controller reset by noticing if the 32 bytes of
"driver version" we store on the hardware in the config table
fail to get zeroed out. Previously we noticed if the controller
did not transition to "simple mode", but this did not detect reset
failure if the controller was already in simple mode prior to
the reset attempt (e.g. due to module parameter hpsa_simple_mode=1).
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa_cmd.h')
-rw-r--r-- | drivers/scsi/hpsa_cmd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa_cmd.h b/drivers/scsi/hpsa_cmd.h index 05007404f5b0..8fd35a7abcd1 100644 --- a/drivers/scsi/hpsa_cmd.h +++ b/drivers/scsi/hpsa_cmd.h @@ -337,6 +337,7 @@ struct CfgTable { u8 reserved[0x78 - 0x58]; u32 misc_fw_support; /* offset 0x78 */ #define MISC_FW_DOORBELL_RESET (0x02) + u8 driver_version[32]; }; #define NUM_BLOCKFETCH_ENTRIES 8 |