]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1e0b8f7c30b63c8f86f1a237af76379bb9228a23
treec940eff7870732ba7197625203442d7e46407de6
parent285edaec3da0c38d3fae4df4d25603efcffece4e
[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