diff options
author | Vijaya Mohan Guvva <vmohan@brocade.com> | 2013-05-13 11:33:28 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-26 23:44:35 +0200 |
commit | 079bcbc35ca9241abf212a795a000b2d6c2038cd (patch) | |
tree | 5e7ac11cd736732e407bc45e9088721b09aa6598 /drivers/scsi/bfa/bfad_bsg.c | |
parent | [SCSI] bfa: driver compatibility with 32bit libs (diff) | |
download | linux-079bcbc35ca9241abf212a795a000b2d6c2038cd.tar.xz linux-079bcbc35ca9241abf212a795a000b2d6c2038cd.zip |
[SCSI] bfa: fru vpd date update changes
1. While FRU VPD data update, inform firmware to send a completion event
on I2C bus. Without this change, firmware used to send completion
message on I2C bus for every chunk of FRU VPD update.
2. Support for FRU VPN update on CHINOOK2 cards.
3. Append port count to the model name to differentiate between single
port and dual port model of 1860.
4. Update the size of the model name to 16bytes
Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfad_bsg.c')
-rw-r--r-- | drivers/scsi/bfa/bfad_bsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfad_bsg.c b/drivers/scsi/bfa/bfad_bsg.c index 9863b1c2e567..0467c349251a 100644 --- a/drivers/scsi/bfa/bfad_bsg.c +++ b/drivers/scsi/bfa/bfad_bsg.c @@ -2716,7 +2716,7 @@ bfad_iocmd_fruvpd_update(struct bfad_s *bfad, void *cmd) spin_lock_irqsave(&bfad->bfad_lock, flags); iocmd->status = bfa_fruvpd_update(BFA_FRU(&bfad->bfa), &iocmd->data, iocmd->len, iocmd->offset, - bfad_hcb_comp, &fcomp); + bfad_hcb_comp, &fcomp, iocmd->trfr_cmpl); spin_unlock_irqrestore(&bfad->bfad_lock, flags); if (iocmd->status == BFA_STATUS_OK) { wait_for_completion(&fcomp.comp); |