]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: move the mii configuration in the ndo_open path
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Tue, 22 Aug 2017 17:08:23 +0000 (19:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:32:19 +0000 (14:32 -0700)
commit8a91485305f18275ba5f914ea746f2b7b4958880
tree98ba69f954ad66c1dd178ea560ed370da4cfc159
parent72c0520b508181f86fbcf0b132aa6eba6c9ddfaa
net: mvpp2: move the mii configuration in the ndo_open path

This moves the mii configuration in the ndo_open path, to allow handling
different mii configurations later and to switch between these
configurations at runtime.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Tested-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c