Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203955
b: refs/heads/master
c: 6dedec8
h: refs/heads/master
i:
  203953: 0d57762
  203951: 8296ebf
v: v3
  • Loading branch information
Ajit Khaparde authored and David S. Miller committed Jul 31, 2010
1 parent c0db789 commit 9681061
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 060b946cc28682620667c33cb145094c763078be
refs/heads/master: 6dedec818ac2a3783581a761b0680e713f78afde
5 changes: 3 additions & 2 deletions trunk/drivers/net/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1717,10 +1717,11 @@ static void be_msix_enable(struct be_adapter *adapter)

static void be_sriov_enable(struct be_adapter *adapter)
{
#ifdef CONFIG_PCI_IOV
int status;
be_check_sriov_fn_type(adapter);
#ifdef CONFIG_PCI_IOV
if (be_physfn(adapter) && num_vfs) {
int status;

status = pci_enable_sriov(adapter->pdev, num_vfs);
adapter->sriov_enabled = status ? false : true;
}
Expand Down

0 comments on commit 9681061

Please sign in to comment.