]> git.karo-electronics.de Git - mv-sheeva.git/commit
[SCSI] qla4xxx: Fix exporting boot targets to sysfs
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Fri, 7 Oct 2011 23:55:43 +0000 (16:55 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 16 Oct 2011 16:09:14 +0000 (11:09 -0500)
commit8de5b9582420acac5129ec7921711aded75406c0
treed262e065f01e29ae26b7001c771fe36da8e595fc
parent4549415af6915017f5d3fbdbfd5edd1dfbe63fa9
[SCSI] qla4xxx: Fix exporting boot targets to sysfs

The driver failed to export primary boot target if secondary target did not
exist in the FLASH. If boot targets are not valid then driver assumed 0 and
1 as default boot targets. Since these target did not exist in flash, the
driver failed exporting all the targets.

JIRA Key: UPSISCSI-148

Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
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>
drivers/scsi/qla4xxx/ql4_os.c