BNX2I - Add 5771E device support to bnx2i driver
Subsystems (2)
PATCH 1/5 BNX2I - Add 5771E device support to bnx2i driver
* Add code to enumerate 5771E device
--- drivers/scsi/bnx2i/bnx2i_init.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
drivers/scsi/bnx2i/bnx2i_init.c +5 -1
@@ -83,8 +83,12 @@ void bnx2i_identify_device(struct bnx2i_hba *hba)set_bit (BNX2I_NX2_DEV_5709 , &hba->cnic_dev_type); hba->mail_queue_access =BNX2I_MQ_BIN_MODE ; }else if (hba->pci_did ==PCI_DEVICE_ID_NX2_57710 || - hba->pci_did ==PCI_DEVICE_ID_NX2_57711 ) + hba->pci_did ==PCI_DEVICE_ID_NX2_57711 || + hba->pci_did ==PCI_DEVICE_ID_NX2_57711E )set_bit (BNX2I_NX2_DEV_57710 , &hba->cnic_dev_type); +else +printk (KERN_ALERT "bnx2i: unknown device, 0x%x\n" , + hba->pci_did); }
Signature · 1 line
1.6.5.1
Quoted 15 lines · Anil Veerabhadrappa
* Add code to enumerate 5771E device
Signed-off-by Anil Veerabhadrappa <[email protected]>--- drivers/scsi/bnx2i/bnx2i_init.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)drivers/scsi/bnx2i/bnx2i_init.c +0
-0@@ -83,8 +83,12 @@ void bnx2i_identify_device(struct bnx2i_hba *hba)set_bit (BNX2I_NX2_DEV_5709 , &hba->cnic_dev_type); hba->mail_queue_access =BNX2I_MQ_BIN_MODE ; } else if (hba->pci_did == PCI_DEVICE_ID_NX2_57710 ||
drivers/scsi/bnx2i/bnx2i_init.c void bnx2i_identify_device(struct bnx2i_hba *hba) · line 94
Quoted 10 lines
drivers/scsi/bnx2i/bnx2i_init.c +5
-1- hba->pci_did == PCI_DEVICE_ID_NX2_57711) + hba->pci_did == PCI_DEVICE_ID_NX2_57711 || + hba->pci_did == PCI_DEVICE_ID_NX2_57711E)set_bit (BNX2I_NX2_DEV_57710 , &hba->cnic_dev_type); + else + printk(KERN_ALERT "bnx2i: unknown device, 0x%x\n", + hba->pci_did); }
Ok.
Quoted 1 line · Mike Christie
Reviewed-by Mike Christie <[email protected]>
But not by checkpatch:
ERROR: trailing whitespace
#23: FILE: drivers/scsi/bnx2i/bnx2i_init.c:90:
+^I^Iprintk(KERN_ALERT "bnx2i: unknown device, 0x%x\n", $
total: 1 errors, 0 warnings, 13 lines checked
I've fixed it up. And the several other whitespace problems in the rest of the patch set.
James
Quoted 5 lines · James Bottomley
Quoted 1 line · Mike Christie
Reviewed-by Mike Christie <[email protected]>But not by checkpatch:
Quoted 9 lines
ERROR: trailing whitespace
#23: FILE:drivers/scsi/bnx2i/bnx2i_init.c:90:
+^I^Iprintk(KERN_ALERT "bnx2i: unknown device, 0x%x\n", $total: 1 errors, 0 warnings, 13 lines checked
I've fixed it up. And the several other whitespace problems in the rest of the patch set.
Thanks James. In future will make sure not to repeat the slip-up.
Thanks again.
Quoted 4 lines
James