Skip to contentSkip to conversation

be2net: Allow VFs to call be_cmd_reset_function.

PATCH In review Ajit Khaparde 1 participant 1 message Feb 11, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 9/15 be2net: Allow VFs to call be_cmd_reset_function.

---
 drivers/net/benet/be_main.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
drivers/net/benet/be_main.c +3 -5
index f2d2036..8975340 100644
@@ -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)
Signature · 1 line
1.7.1