commit | fd5f375c162807b4e39676c540e26400c091cf4f | [log] [tgz] |
---|---|---|
author | Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de> | Thu Apr 19 14:05:20 2018 +1200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 19 16:11:10 2018 -0400 |
tree | b78d9244ede7e143eb8b82ab56a6d89cb678c78c | |
parent | 7a0907bd399f6f2d40906c6d38ed1814d314ef74 [diff] |
net-next: ax88796: Attach MII bus only when open Call ax_mii_init in ax_open(), and unregister/remove mdiobus resources in ax_close(). This is needed to be able to unload the module, as the module is busy while the MII bus is attached. Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de> Signed-off-by: Michael Schmitz <schmitzmic@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>