diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-08-22 15:55:06 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 12:11:07 +0400 |
commit | 83dbdf6f5205832fd5b98d9324fad51927832879 (patch) | |
tree | 9a74b33840ac77bb9c6a9b37ae58cba0e7699e8a /drivers/scsi/qla4xxx/ql4_mbx.c | |
parent | ee996a691752ae55d26c1dd6de7421c1eb64cffb (diff) | |
download | linux-83dbdf6f5205832fd5b98d9324fad51927832879.tar.xz |
[SCSI] qla4xxx: Set IDC version in correct way
Issue:
Device can go to READY state from COLD and skip INITIALIZATION,
In this case driver will never set IDC version from function
qla4_8xxx_device_bootstrap().
Fix:
1. Set IDC version at start of function qla4_82xx_need_reset_handler().
2. Set IDC version only if we are 1st driver to load.
3. Added new function qla4_8xxx_update_idc_reg() to set all idc reg at one
place.
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_mbx.c')
0 files changed, 0 insertions, 0 deletions