diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-08-22 13:55:06 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 10:11:07 +0200 |
commit | 83dbdf6f5205832fd5b98d9324fad51927832879 (patch) | |
tree | 9a74b33840ac77bb9c6a9b37ae58cba0e7699e8a /drivers/scsi/iscsi_boot_sysfs.c | |
parent | [SCSI] qla4xxx: Replace all !is_qla8022() with is_qla40XX() (diff) | |
download | linux-83dbdf6f5205832fd5b98d9324fad51927832879.tar.xz linux-83dbdf6f5205832fd5b98d9324fad51927832879.zip |
[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/iscsi_boot_sysfs.c')
0 files changed, 0 insertions, 0 deletions