[SCSI] qla2xxx: Handle unaligned sector writes during NVRAM/VPD updates.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Fri, 19 Oct 2007 22:59:15 +0000 (15:59 -0700)
committerJames Bottomley <jejb@mulgrave.localdomain>
Tue, 23 Oct 2007 19:53:55 +0000 (15:53 -0400)
commit2c96d8d0c17978bbf5eb82314d488f46d4a51280
tree7506cb5fb1f90adae103fd223574411d68f2a4fe
parenta3a63d55a4eec418d845a91222ac53443f62717b
[SCSI] qla2xxx: Handle unaligned sector writes during NVRAM/VPD updates.

Since both NVRAM and VPD regions of the flash reside on unaligned
sector boundaries, during update, the driver must perform a
read-modify-write operation to the composite NVRAM/VPD region.
This affects ISP25xx type boards only.

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