Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327841
b: refs/heads/master
c: 82346a7
h: refs/heads/master
i:
  327839: dc2fa7a
v: v3
  • Loading branch information
Michael Chan authored and David S. Miller committed Sep 10, 2012
1 parent 9cc10ed commit 8049bad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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: 51a8f54d13f1b2e91da214ff1e619628bd68fd27
refs/heads/master: 82346a7b6a14793a48cc7a0692a007daf0843f99
5 changes: 4 additions & 1 deletion trunk/drivers/net/ethernet/broadcom/cnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,9 @@ static int cnic_alloc_bnx2x_resc(struct cnic_dev *dev)
if (ret)
goto error;

if (cp->ethdev->drv_state & CNIC_DRV_STATE_NO_ISCSI)
return 0;

cp->bnx2x_def_status_blk = cp->ethdev->irq_arr[1].status_blk;

cp->l2_rx_ring_size = 15;
Expand Down Expand Up @@ -5351,7 +5354,7 @@ static void cnic_stop_hw(struct cnic_dev *dev)
/* Need to wait for the ring shutdown event to complete
* before clearing the CNIC_UP flag.
*/
while (cp->udev->uio_dev != -1 && i < 15) {
while (cp->udev && cp->udev->uio_dev != -1 && i < 15) {
msleep(100);
i++;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/broadcom/cnic_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

#include "bnx2x/bnx2x_mfw_req.h"

#define CNIC_MODULE_VERSION "2.5.12"
#define CNIC_MODULE_RELDATE "June 29, 2012"
#define CNIC_MODULE_VERSION "2.5.13"
#define CNIC_MODULE_RELDATE "Sep 07, 2012"

#define CNIC_ULP_RDMA 0
#define CNIC_ULP_ISCSI 1
Expand Down

0 comments on commit 8049bad

Please sign in to comment.