]> git.baikalelectronics.ru Git - kernel.git/commit
net: gemini: Move main init to port
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Jul 2018 19:32:44 +0000 (21:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jul 2018 00:39:15 +0000 (17:39 -0700)
commit591a7ec9b0d5e02e6638dbf2f9250e91fb8b0a16
treeec321dffd25ac722dd703728c0b56fc7d2d88eef
parentaa98ef79d88c3770cbf3afeae361985fb88455bb
net: gemini: Move main init to port

The initialization sequence for the ethernet, setting up
interrupt routing and such things, need to be done after
both the ports are clocked and reset. Before this the
config will not "take". Move the initialization to the
port probe function and keep track of init status in
the state.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cortina/gemini.c