OSDN Git Service

net: mscc: ocelot: move port initialization into separate function
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 9 Nov 2019 13:02:56 +0000 (15:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Nov 2019 20:59:10 +0000 (12:59 -0800)
commit31350d7fb985398a61cad8fd7acb6aa3272939d2
tree43fe14046255c267632eb3b058ba434306e96554
parent714d0ffabeb21550895ff32a8ba8866b684b5203
net: mscc: ocelot: move port initialization into separate function

We need a function for the DSA front-end that does none of the
net_device registration, but initializes the hardware ports.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c