summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/8390/mcf8390.c
diff options
context:
space:
mode:
authorMichael Karcher <kernel@mkarcher.dialup.fu-berlin.de>2018-04-19 05:05:20 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-19 23:11:10 +0300
commitfd5f375c162807b4e39676c540e26400c091cf4f (patch)
treeb78d9244ede7e143eb8b82ab56a6d89cb678c78c /drivers/net/ethernet/8390/mcf8390.c
parent7a0907bd399f6f2d40906c6d38ed1814d314ef74 (diff)
downloadlinux-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