[SCSI] qla2xxx: Wait for FLASH write-protection to complete after a write.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Thu, 17 Jan 2008 17:02:10 +0000 (09:02 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 23 Jan 2008 17:29:31 +0000 (11:29 -0600)
commit6f13fd57cd84c06cea6c4b6d61517a4350820a9f
treec940eff7870732ba7197625203442d7e46407de6
parent3776541d8a46347a4924353a192c6ce4a3d04e2e
[SCSI] qla2xxx: Wait for FLASH write-protection to complete after a write.

Some flash parts have a slow enable write-protection (WP)
operation whereby subsequent FLASH accesses would fail if the WP
operation had not completed.  Software now polls the SPI's
status-register for WP completion.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_sup.c