diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2011-02-11 14:36:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-12 06:14:46 +0100 |
commit | a4b4dfab6ca808a5d1073cdfb7f39e8ce59f71e2 (patch) | |
tree | f9bed18081c7b168a230ae591fee7e062ae11a36 /drivers/net/benet | |
parent | be2net: pass domain numbers for pmac_add/del functions (diff) | |
download | linux-a4b4dfab6ca808a5d1073cdfb7f39e8ce59f71e2.tar.xz linux-a4b4dfab6ca808a5d1073cdfb7f39e8ce59f71e2.zip |
be2net: Allow VFs to call be_cmd_reset_function.
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet')
-rw-r--r-- | drivers/net/benet/be_main.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index f2d203637846..8975340614b4 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c @@ -2959,11 +2959,9 @@ static int __devinit be_probe(struct pci_dev *pdev, if (status) goto ctrl_clean; - if (be_physfn(adapter)) { - status = be_cmd_reset_function(adapter); - if (status) - goto ctrl_clean; - } + status = be_cmd_reset_function(adapter); + if (status) + goto ctrl_clean; status = be_stats_init(adapter); if (status) |