Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161005
b: refs/heads/master
c: f1c3b0f
h: refs/heads/master
i:
  161003: 4241e0a
v: v3
  • Loading branch information
James Smart authored and James Bottomley committed Aug 22, 2009
1 parent 9511c9a commit 19ab3c0
Show file tree
Hide file tree
Showing 11 changed files with 955 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1c6834a7e85715a4ac07c1cac25a1950040decb0
refs/heads/master: f1c3b0fcbb8104dac92d65d5016500a09beea287
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/lpfc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ obj-$(CONFIG_SCSI_LPFC) := lpfc.o

lpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o lpfc_hbadisc.o \
lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o lpfc_scsi.o lpfc_attr.o \
lpfc_vport.o lpfc_debugfs.o
lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o
11 changes: 11 additions & 0 deletions trunk/drivers/scsi/lpfc/lpfc.h
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,12 @@ enum intr_type_t {
MSIX,
};

struct unsol_rcv_ct_ctx {
uint32_t ctxt_id;
uint32_t SID;
uint32_t oxid;
};

struct lpfc_hba {
/* SCSI interface function jump table entries */
int (*lpfc_new_scsi_buf)
Expand Down Expand Up @@ -776,6 +782,11 @@ struct lpfc_hba {
uint8_t valid_vlan;
uint16_t vlan_id;
struct list_head fcf_conn_rec_list;

struct mutex ct_event_mutex; /* synchronize access to ct_ev_waiters */
struct list_head ct_ev_waiters;
struct unsol_rcv_ct_ctx ct_ctx[64];
uint32_t ctx_idx;
};

static inline struct Scsi_Host *
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/lpfc/lpfc_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -4132,6 +4132,9 @@ struct fc_function_template lpfc_transport_functions = {
.vport_disable = lpfc_vport_disable,

.set_vport_symbolic_name = lpfc_set_vport_symbolic_name,

.bsg_request = lpfc_bsg_request,
.bsg_timeout = lpfc_bsg_timeout,
};

struct fc_function_template lpfc_vport_transport_functions = {
Expand Down
Loading

0 comments on commit 19ab3c0

Please sign in to comment.