[SCSI] bnx2i: removed the individual PCI DEVICE ID checking
authorEddie Wai <eddie.wai@broadcom.com>
Tue, 16 Oct 2012 00:31:37 +0000 (17:31 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Nov 2012 04:59:43 +0000 (08:59 +0400)
commitb83908ce845311061eaabf2d8dc9b182907dbc5f
tree2aa1b2242fb37c64a5891be1149aa4c62e82376c
parent9a07da9f1f40a6e569794d074ca71b7c1cf77d17
[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>
drivers/scsi/bnx2i/bnx2i.h
drivers/scsi/bnx2i/bnx2i_init.c
drivers/scsi/bnx2i/bnx2i_iscsi.c