net: mscc: Move ocelot_send and ocelot_recv in a different file.
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Thu, 31 Jan 2019 14:30:35 +0000 (15:30 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 1 Feb 2019 13:13:36 +0000 (14:13 +0100)
commit36d04f52ff3e832862a25bf474f0224e995b6ca1
treef08d40a4c726526b5e5ae806089e875adb5b2ffe
parent2fff4a9b59855b97f498c2846c5485a65663189b
net: mscc: Move ocelot_send and ocelot_recv in a different file.

This functions can be reused by other MSCC SoCs therefore,
make them more generic and move them in separate files.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
drivers/net/mscc_eswitch/Makefile
drivers/net/mscc_eswitch/mscc_xfer.c [new file with mode: 0644]
drivers/net/mscc_eswitch/mscc_xfer.h [new file with mode: 0644]
drivers/net/mscc_eswitch/ocelot_switch.c