Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343705
b: refs/heads/master
c: 139a1b1
h: refs/heads/master
i:
  343703: 146197f
v: v3
  • Loading branch information
John Soni Jose authored and James Bottomley committed Nov 27, 2012
1 parent 7c600c2 commit 577942c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8359c79b3b89e97b7d4ef656915c1378069cfa93
refs/heads/master: 139a1b1e777144aa745f10741e2fe09b93e63c38
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/be2iscsi/be.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/* BladeEngine Generation numbers */
#define BE_GEN2 2
#define BE_GEN3 3

#define BE_GEN4 4
struct be_dma_mem {
void *va;
dma_addr_t dma;
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/be2iscsi/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ static DEFINE_PCI_DEVICE_TABLE(beiscsi_pci_id_table) = {
{ PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID1) },
{ PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID2) },
{ PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID3) },
{ PCI_DEVICE(ELX_VENDOR_ID, OC_SKH_ID1) },
{ 0 }
};
MODULE_DEVICE_TABLE(pci, beiscsi_pci_id_table);
Expand Down Expand Up @@ -4611,6 +4612,8 @@ static int __devinit beiscsi_dev_probe(struct pci_dev *pcidev,
case OC_DEVICE_ID3:
phba->generation = BE_GEN3;
break;
case OC_SKH_ID1:
phba->generation = BE_GEN4;
default:
phba->generation = 0;
}
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/scsi/be2iscsi/be_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#define DRV_DESC BE_NAME " " "Driver"

#define BE_VENDOR_ID 0x19A2
#define ELX_VENDOR_ID 0x10DF
/* DEVICE ID's for BE2 */
#define BE_DEVICE_ID1 0x212
#define OC_DEVICE_ID1 0x702
Expand All @@ -51,6 +52,9 @@
#define BE_DEVICE_ID2 0x222
#define OC_DEVICE_ID3 0x712

/* DEVICE ID for SKH */
#define OC_SKH_ID1 0x722

#define BE2_IO_DEPTH 1024
#define BE2_MAX_SESSIONS 256
#define BE2_CMDS_PER_CXN 128
Expand Down

0 comments on commit 577942c

Please sign in to comment.