[SCSI] qla2xxx: Correct descriptions in flash manipulation routines.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Thu, 22 Jan 2009 17:45:36 +0000 (09:45 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 25 Jan 2009 13:58:37 +0000 (07:58 -0600)
commitb872ca4081c480e3d76443282ffd7f206321f50f
treeb44b7f7bb71ff181103d6e92ed07b9b8532ab2dd
parent2ac4b64f7483f3684a423b21ac4e687827f7eb62
[SCSI] qla2xxx: Correct descriptions in flash manipulation routines.

When clearing the flash device's SR, the comment is incorrect...
clearing the SR is 2 steps:

1. the SR protect bit is 1, so the first write zero clears only
   that bit,

2. the SR protect bit is now 0, so the next write zero clears the
   remaining bits.

The sector erase debug print more correctly identifies that the erase failed.

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