|
@@ -2511,6 +2511,8 @@ static int be_setup(struct be_adapter *adapter)
|
|
int status;
|
|
int status;
|
|
u8 mac[ETH_ALEN];
|
|
u8 mac[ETH_ALEN];
|
|
|
|
|
|
|
|
+ be_cmd_req_native_mode(adapter);
|
|
|
|
+
|
|
cap_flags = en_flags = BE_IF_FLAGS_UNTAGGED |
|
|
cap_flags = en_flags = BE_IF_FLAGS_UNTAGGED |
|
|
BE_IF_FLAGS_BROADCAST |
|
|
BE_IF_FLAGS_BROADCAST |
|
|
BE_IF_FLAGS_MULTICAST;
|
|
BE_IF_FLAGS_MULTICAST;
|
|
@@ -2618,6 +2620,8 @@ static int be_clear(struct be_adapter *adapter)
|
|
|
|
|
|
be_cmd_if_destroy(adapter, adapter->if_handle, 0);
|
|
be_cmd_if_destroy(adapter, adapter->if_handle, 0);
|
|
|
|
|
|
|
|
+ adapter->be3_native = 0;
|
|
|
|
+
|
|
/* tell fw we're done with firing cmds */
|
|
/* tell fw we're done with firing cmds */
|
|
be_cmd_fw_clean(adapter);
|
|
be_cmd_fw_clean(adapter);
|
|
return 0;
|
|
return 0;
|
|
@@ -3215,8 +3219,6 @@ static int be_get_config(struct be_adapter *adapter)
|
|
if (status)
|
|
if (status)
|
|
return status;
|
|
return status;
|
|
|
|
|
|
- be_cmd_check_native_mode(adapter);
|
|
|
|
-
|
|
|
|
if ((num_vfs && adapter->sriov_enabled) ||
|
|
if ((num_vfs && adapter->sriov_enabled) ||
|
|
(adapter->function_mode & 0x400) ||
|
|
(adapter->function_mode & 0x400) ||
|
|
lancer_chip(adapter) || !be_physfn(adapter)) {
|
|
lancer_chip(adapter) || !be_physfn(adapter)) {
|