From: Vikas Chaudhary Date: Wed, 22 Aug 2012 11:55:06 +0000 (-0400) Subject: [SCSI] qla4xxx: Set IDC version in correct way X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~38^2^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83dbdf6f5205832fd5b98d9324fad51927832879;p=pandora-kernel.git [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 Reviewed-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed