summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/include/bfi/bfi_pport.h
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2010-03-05 19:37:37 -0800
committerJames Bottomley <James.Bottomley@suse.de>2010-03-07 13:05:10 +0530
commit1c8a4c37494932acd59079b4fc8d8f69fb329c2a (patch)
tree9d605be2a56606d89b41facda6cc13256d68cd2d /drivers/scsi/bfa/include/bfi/bfi_pport.h
parent13cc20c5e764e6ef8d57f33980ab8c386c25fb4d (diff)
downloadtalos-op-linux-1c8a4c37494932acd59079b4fc8d8f69fb329c2a.tar.gz
talos-op-linux-1c8a4c37494932acd59079b4fc8d8f69fb329c2a.zip
[SCSI] bfa: Rename pport to fcport in BFA FCS.
Rename pport structures to fcport in BFA FCS, to resolve confusion about the port structures in the firmware, and make sure the SG page is setup correctly. Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/include/bfi/bfi_pport.h')
-rw-r--r--drivers/scsi/bfa/include/bfi/bfi_pport.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/include/bfi/bfi_pport.h b/drivers/scsi/bfa/include/bfi/bfi_pport.h
index c96d246851af..5c3d289d986d 100644
--- a/drivers/scsi/bfa/include/bfi/bfi_pport.h
+++ b/drivers/scsi/bfa/include/bfi/bfi_pport.h
@@ -32,6 +32,8 @@ enum bfi_pport_h2i {
BFI_PPORT_H2I_ENABLE_TX_VF_TAG_REQ = (7),
BFI_PPORT_H2I_GET_QOS_STATS_REQ = (8),
BFI_PPORT_H2I_CLEAR_QOS_STATS_REQ = (9),
+ BFI_FCPORT_H2I_GET_STATS_REQ = (10),
+ BFI_FCPORT_H2I_CLEAR_STATS_REQ = (11),
};
enum bfi_pport_i2h {
@@ -45,6 +47,8 @@ enum bfi_pport_i2h {
BFI_PPORT_I2H_EVENT = BFA_I2HM(8),
BFI_PPORT_I2H_GET_QOS_STATS_RSP = BFA_I2HM(9),
BFI_PPORT_I2H_CLEAR_QOS_STATS_RSP = BFA_I2HM(10),
+ BFI_FCPORT_I2H_GET_STATS_RSP = BFA_I2HM(11),
+ BFI_FCPORT_I2H_CLEAR_STATS_RSP = BFA_I2HM(12),
};
/**
@@ -75,6 +79,7 @@ struct bfi_pport_enable_req_s {
wwn_t pwwn; /* port wwn of physical port */
struct bfa_pport_cfg_s port_cfg; /* port configuration */
union bfi_addr_u stats_dma_addr; /* DMA address for stats */
+ union bfi_addr_u fcport_stats_dma_addr;/*!< DMA address for stats */
u32 msgtag; /* msgtag for reply */
u32 rsvd2;
};
OpenPOWER on IntegriCloud