diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2013-03-08 13:28:51 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-05-02 07:32:24 -0700 |
commit | c13d2b6d3640d1ef180e40191178b4f1271982c1 (patch) | |
tree | b30920c0567268216d1deaafabee472e017781f2 /drivers/scsi/bnx2fc/bnx2fc.h | |
parent | 353c2ade1d7dee6551f4d17fc357c9f5adc8045a (diff) | |
download | talos-obmc-linux-c13d2b6d3640d1ef180e40191178b4f1271982c1.tar.gz talos-obmc-linux-c13d2b6d3640d1ef180e40191178b4f1271982c1.zip |
[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 @@ #define PFX "bnx2fc: " +#define BCM_CHIP_LEN 16 + #define BNX2X_DOORBELL_PCI_BAR 2 #define BNX2FC_MAX_BD_LEN 0xffff @@ -241,6 +243,8 @@ struct bnx2fc_hba { int wait_for_link_down; int num_ofld_sess; struct list_head vports; + + char chip_num[BCM_CHIP_LEN]; }; struct bnx2fc_interface { |