[SCSI] qla2xxx: Correctly read sfp single byte mailbox register.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Tue, 10 May 2011 18:30:11 +0000 (11:30 -0700)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 17 May 2011 07:34:20 +0000 (11:34 +0400)
commit1bff6cc8fbb73d6bed809d3eff18e90c175a601c
treec434f4ddfdaf4b96800ca394f0b47102a97625ee
parentd652e0937029e1f7cf9b17d639782db1b0c23ea9
[SCSI] qla2xxx: Correctly read sfp single byte mailbox register.

When reading a single byte using the READ SFP mailbox command, the
single byte of data is returned in MB[1] and not MB[8].

The reason that MB[8] was being used is that the spec was unclear
as it evolved over time; and we have not needed to read a single
byte until recently.

Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_mbx.c