diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2011-01-28 19:05:27 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-12 12:09:04 -0500 |
commit | 75a2792df296c77004a72056c76628a1f835bc93 (patch) | |
tree | 767bafd5718fc112d440bf3d8d1369eeb1d557e9 /drivers/scsi/libfc/fc_npiv.c | |
parent | acc1a921659561c4ea97eca6e3c2633adecbcd81 (diff) |
[SCSI] libfc: introduce LLD event callback
This patch enables LLD to listen to rport events and perform LLD
specific operations based on the rport event. This patch also stores
sp_features and spp_type in rdata for further reference by LLD.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libfc/fc_npiv.c')
-rw-r--r-- | drivers/scsi/libfc/fc_npiv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libfc/fc_npiv.c b/drivers/scsi/libfc/fc_npiv.c index dd2b43bb1c70..076cd5ff0e40 100644 --- a/drivers/scsi/libfc/fc_npiv.c +++ b/drivers/scsi/libfc/fc_npiv.c | |||
@@ -86,6 +86,7 @@ struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port, u32 port_id) | |||
86 | 86 | ||
87 | return lport; | 87 | return lport; |
88 | } | 88 | } |
89 | EXPORT_SYMBOL(fc_vport_id_lookup); | ||
89 | 90 | ||
90 | /* | 91 | /* |
91 | * When setting the link state of vports during an lport state change, it's | 92 | * When setting the link state of vports during an lport state change, it's |