diff options
author | Eddie Wai <eddie.wai@broadcom.com> | 2012-10-15 20:31:37 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-26 23:59:43 -0500 |
commit | b83908ce845311061eaabf2d8dc9b182907dbc5f (patch) | |
tree | 2aa1b2242fb37c64a5891be1149aa4c62e82376c /drivers/scsi/bnx2i/bnx2i.h | |
parent | 9a07da9f1f40a6e569794d074ca71b7c1cf77d17 (diff) |
[SCSI] bnx2i: removed the individual PCI DEVICE ID checking
Removed the individual PCI DEVICE ID checking inside bnx2i. The device
type can easily be read from the corresponding cnic->flags. This will
free bnx2i from having to get updated for every new device ID that gets
added.
Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bnx2i/bnx2i.h')
-rw-r--r-- | drivers/scsi/bnx2i/bnx2i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i.h b/drivers/scsi/bnx2i/bnx2i.h index 3f9e7061258e..b44d04e41b0d 100644 --- a/drivers/scsi/bnx2i/bnx2i.h +++ b/drivers/scsi/bnx2i/bnx2i.h | |||
@@ -800,7 +800,7 @@ extern struct device_attribute *bnx2i_dev_attributes[]; | |||
800 | /* | 800 | /* |
801 | * Function Prototypes | 801 | * Function Prototypes |
802 | */ | 802 | */ |
803 | extern void bnx2i_identify_device(struct bnx2i_hba *hba); | 803 | extern void bnx2i_identify_device(struct bnx2i_hba *hba, struct cnic_dev *dev); |
804 | 804 | ||
805 | extern void bnx2i_ulp_init(struct cnic_dev *dev); | 805 | extern void bnx2i_ulp_init(struct cnic_dev *dev); |
806 | extern void bnx2i_ulp_exit(struct cnic_dev *dev); | 806 | extern void bnx2i_ulp_exit(struct cnic_dev *dev); |