hv_netvsc: Set probe mode to sync

For better consistency of synthetic NIC names, we set the probe mode to
PROBE_FORCE_SYNCHRONOUS. So the names can be aligned with the vmbus
channel offer sequence.

Fixes: af0a5646cb ("use the new async probing feature for the hyperv drivers")
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
pull/692/head
Haiyang Zhang 2019-06-13 21:06:53 +00:00 committed by David S. Miller
parent 99815f5031
commit 9a33629ba6
1 changed files with 1 additions and 1 deletions

View File

@ -2407,7 +2407,7 @@ static struct hv_driver netvsc_drv = {
.probe = netvsc_probe, .probe = netvsc_probe,
.remove = netvsc_remove, .remove = netvsc_remove,
.driver = { .driver = {
.probe_type = PROBE_PREFER_ASYNCHRONOUS, .probe_type = PROBE_FORCE_SYNCHRONOUS,
}, },
}; };