summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfad_im.h
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2012-05-11 17:49:59 -0700
committerJames Bottomley <JBottomley@Parallels.com>2012-05-22 11:06:29 +0100
commit6192bd7cdc37e2df9391403235b72668a5bf27da (patch)
treec5e3363c7f3b4a8a4cf74fe1f45bfb67eb93597f /drivers/scsi/bfa/bfad_im.h
parente91506dbcfc9e405b2a8013e3a59741bbedce471 (diff)
downloadlinux-6192bd7cdc37e2df9391403235b72668a5bf27da.tar.gz
linux-6192bd7cdc37e2df9391403235b72668a5bf27da.tar.bz2
linux-6192bd7cdc37e2df9391403235b72668a5bf27da.zip
[SCSI] bfa: Fix to set vport FC host sysfs entries
Made changes to set the fc_host sysfs entries supported_speeds, supported_classes etc., during the vport creation from the FC transport template. Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfad_im.h')
-rw-r--r--drivers/scsi/bfa/bfad_im.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfad_im.h b/drivers/scsi/bfa/bfad_im.h
index 0814367ef101..f6c1023e502a 100644
--- a/drivers/scsi/bfa/bfad_im.h
+++ b/drivers/scsi/bfa/bfad_im.h
@@ -37,6 +37,7 @@ int bfad_im_scsi_host_alloc(struct bfad_s *bfad,
struct bfad_im_port_s *im_port, struct device *dev);
void bfad_im_scsi_host_free(struct bfad_s *bfad,
struct bfad_im_port_s *im_port);
+u32 bfad_im_supported_speeds(struct bfa_s *bfa);
#define MAX_FCP_TARGET 1024
#define MAX_FCP_LUN 16384