diff options
author | lipeng <lipeng321@huawei.com> | 2017-04-28 14:49:47 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-30 22:39:24 -0400 |
commit | 804ffe5c6197fc2696681c597ce096d93eb24af5 (patch) | |
tree | 41e34fb827d6d60c6aad55c7d40757eca80becdf /drivers/net/sungem_phy.c | |
parent | 2fdd6bafe37db6b417c9609271db4ea5a92550c0 (diff) |
net: hns: support deferred probe when no mdio
In the hip06 and hip07 SoCs, phy connect to mdio bus.The mdio
module is probed with module_init, and, as such,
is not guaranteed to probe before the HNS driver. So we need
to support deferred probe.
We check for probe deferral in the mac init, so we not init DSAF
when there is no mdio, and free all resource, to later learn that
we need to defer the probe.
Signed-off-by: lipeng <lipeng321@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sungem_phy.c')
0 files changed, 0 insertions, 0 deletions