[SCSI] qla4xxx: Use offset based on adapter type to set CHAP entry in flash
authorAdheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Tue, 17 Sep 2013 11:54:47 +0000 (07:54 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 08:58:01 +0000 (09:58 +0100)
commitb1d0b63f99300c0bd8b3fa9c8058fcd9529e294f
treef370d12d1f75bc2dbd06b835753aa47c894cadb3
parent946ac571584d95e4f6ba0978bb84b4920ecba40b
[SCSI] qla4xxx: Use offset based on adapter type to set CHAP entry in flash

To write a CHAP entry in adapter's flash calculate the offset based
on the type of adapter.

Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_mbx.c