diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2013-03-08 16:28:51 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-05-02 10:32:24 -0400 |
commit | c13d2b6d3640d1ef180e40191178b4f1271982c1 (patch) | |
tree | b30920c0567268216d1deaafabee472e017781f2 /drivers/scsi/bnx2fc/bnx2fc.h | |
parent | 353c2ade1d7dee6551f4d17fc357c9f5adc8045a (diff) |
[SCSI] bnx2fc: Include chip number in the symbolic name
[jejb: move PCI_DEVICE_ID definitions to include/pci_ids.h]
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc.h')
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h index 11596b2c4702..5d47c08ed99e 100644 --- a/drivers/scsi/bnx2fc/bnx2fc.h +++ b/drivers/scsi/bnx2fc/bnx2fc.h | |||
@@ -68,6 +68,8 @@ | |||
68 | 68 | ||
69 | #define PFX "bnx2fc: " | 69 | #define PFX "bnx2fc: " |
70 | 70 | ||
71 | #define BCM_CHIP_LEN 16 | ||
72 | |||
71 | #define BNX2X_DOORBELL_PCI_BAR 2 | 73 | #define BNX2X_DOORBELL_PCI_BAR 2 |
72 | 74 | ||
73 | #define BNX2FC_MAX_BD_LEN 0xffff | 75 | #define BNX2FC_MAX_BD_LEN 0xffff |
@@ -241,6 +243,8 @@ struct bnx2fc_hba { | |||
241 | int wait_for_link_down; | 243 | int wait_for_link_down; |
242 | int num_ofld_sess; | 244 | int num_ofld_sess; |
243 | struct list_head vports; | 245 | struct list_head vports; |
246 | |||
247 | char chip_num[BCM_CHIP_LEN]; | ||
244 | }; | 248 | }; |
245 | 249 | ||
246 | struct bnx2fc_interface { | 250 | struct bnx2fc_interface { |