[SCSI] qla2xxx: Correct Atmel flash-part handling.
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Fri, 24 Oct 2008 22:13:44 +0000 (15:13 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 5 Nov 2008 17:41:06 +0000 (12:41 -0500)
commit821b3996001508e872582dcafc7575021f122728
tree72a07fed95f21772e981198ff3e53dbe761c23eb
parent6b0eea21efed26f92e18741e54a3121cf5cd197e
[SCSI] qla2xxx: Correct Atmel flash-part handling.

Use correct block size (4K) for erase command 0x20 for Atmel
Flash. Use dword addresses for determining sector boundary.

Cc: Stable Tree <stable@kernel.org>
Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_sup.c