]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] qla2xxx: Unify the read/write sfp mailbox command routines.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Tue, 10 May 2011 18:30:15 +0000 (11:30 -0700)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 17 May 2011 07:36:23 +0000 (11:36 +0400)
commit6766df9e8ae2ab29459381ade1ca91b28688ab13
tree2065424e4518d33bf08feed3aa0876dbae2cf91d
parent773120e4df1d2bf543345ad850cc92dc1f1bad8a
[SCSI] qla2xxx: Unify the read/write sfp mailbox command routines.

Make the read/write sfp mailbox command routines uniform, and remove redundancy.
Also protect against attempting to do a single byte dma in these routines.

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_attr.c
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_mbx.c