[SCSI] qla4xxx: ql4_init.c bugfixes
authorDavid C Somayajulu <david.somayajulu@qlogic.com>
Thu, 24 May 2007 00:55:40 +0000 (17:55 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 26 May 2007 16:47:35 +0000 (11:47 -0500)
commit92b7273608da2c681f54fd36d182a582673ed260
tree69be334661a46206d5b57b481be2b19dd90f7db0
parentb2854316574d1fa2f1b85ad336d4a88aee5dd140
[SCSI] qla4xxx: ql4_init.c bugfixes

In qla4xxx_get_ddb_entry() and qla4xxx_add_device_dynamically()
differentiate between a target which has been newly added vs a target
which went offline temporarily and is online again.  In
qla4xxx_build_ddb_list() firmware ddb state needs to be updated by
calling qla4xxx_get_ddb_entry(). Fix qla4x00_pci_config() and clean up
code.

Signed-off-by: David Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla4xxx/ql4_init.c