mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
be2net: avoid SRIOV config for BE2 chip
As SRIOV is not supported on BE2 chip, avoid calling be_get/set_sriov_config() for BE2 chip. Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d3518e215a
commit
962bcb750b
1 changed files with 2 additions and 0 deletions
|
|
@ -3434,7 +3434,9 @@ static int be_get_config(struct be_adapter *adapter)
|
|||
if (!status)
|
||||
dev_info(&adapter->pdev->dev,
|
||||
"Using profile 0x%x\n", profile_id);
|
||||
}
|
||||
|
||||
if (!BE2_chip(adapter) && be_physfn(adapter)) {
|
||||
status = be_get_sriov_config(adapter);
|
||||
if (status)
|
||||
return status;
|
||||
|
|
|
|||
Loading…
Reference in a new issue