Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369825
b: refs/heads/master
c: 2d177be
h: refs/heads/master
i:
  369823: a4cc079
v: v3
  • Loading branch information
Kalesh AP authored and David S. Miller committed Apr 29, 2013
1 parent 77a2267 commit c8d71df
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 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: 28710c55f4a62b6c595d1a7134e7196c63838e1c
refs/heads/master: 2d177be8e4a1f6ea7e3280b3a578a6b86472a39d
22 changes: 11 additions & 11 deletions trunk/drivers/net/ethernet/emulex/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4174,23 +4174,23 @@ static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id)
goto ctrl_clean;
}

/* tell fw we're ready to fire cmds */
status = be_cmd_fw_init(adapter);
if (status)
goto ctrl_clean;

if (be_reset_required(adapter)) {
status = be_cmd_reset_function(adapter);
if (status)
goto ctrl_clean;
}

/* Wait for interrupts to quiesce after an FLR */
msleep(100);
/* Wait for interrupts to quiesce after an FLR */
msleep(100);
}

/* Allow interrupts for other ULPs running on NIC function */
be_intr_set(adapter, true);

/* tell fw we're ready to fire cmds */
status = be_cmd_fw_init(adapter);
if (status)
goto ctrl_clean;

status = be_stats_init(adapter);
if (status)
goto ctrl_clean;
Expand Down Expand Up @@ -4400,12 +4400,12 @@ static void be_eeh_resume(struct pci_dev *pdev)

pci_save_state(pdev);

/* tell fw we're ready to fire cmds */
status = be_cmd_fw_init(adapter);
status = be_cmd_reset_function(adapter);
if (status)
goto err;

status = be_cmd_reset_function(adapter);
/* tell fw we're ready to fire cmds */
status = be_cmd_fw_init(adapter);
if (status)
goto err;

Expand Down

0 comments on commit c8d71df

Please sign in to comment.