diff options
author | Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de> | 2018-04-19 05:05:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-19 23:11:10 +0300 |
commit | fd5f375c162807b4e39676c540e26400c091cf4f (patch) | |
tree | b78d9244ede7e143eb8b82ab56a6d89cb678c78c /drivers/net/ethernet/8390/mcf8390.c | |
parent | 7a0907bd399f6f2d40906c6d38ed1814d314ef74 (diff) | |
download | linux-fd5f375c162807b4e39676c540e26400c091cf4f.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/8390/mcf8390.c')
0 files changed, 0 insertions, 0 deletions