From: Joe Carnuccio Date: Fri, 11 Apr 2014 20:54:41 +0000 (-0400) Subject: qla2xxx: Add MBC option for fast SFP data access. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=51e748838c6a31cd1f6b1333517b2ea883d57488;p=linux-beck.git qla2xxx: Add MBC option for fast SFP data access. Signed-off-by: Joe Carnuccio Signed-off-by: Saurav Kashyap Signed-off-by: Christoph Hellwig --- diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 900411af834d..16fe5196e6d9 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c @@ -664,7 +664,7 @@ do_read: } rval = qla2x00_read_sfp(vha, ha->sfp_data_dma, ha->sfp_data, - addr, offset, SFP_BLOCK_SIZE, 0); + addr, offset, SFP_BLOCK_SIZE, BIT_1); if (rval != QLA_SUCCESS) { ql_log(ql_log_warn, vha, 0x706d, "Unable to read SFP data (%x/%x/%x).\n", rval,