
This series adds network support for Luton SoCs. Currently there is not support for Luton SoCs in Linux.
v3-changes: - reorder the changes of the commits and add Kconfig in mscc_eswitch folder
v2-changes: - reuse functions from ocelot for luton network driver
Horatiu Vultur (8): net: mscc: Move ocelot_switch to mscc_eswitch folder net: mscc: Move miim commands into separate file. net: mscc: Move ocelot_send and ocelot_recv in a different file. net: mscc: Move mac_table_add function into different file. net: mscc: Remove unused variables mips: mscc: luton: Add ethernet nodes for Luton. net: Add MSCC Luton networkd driver. configs: mscc_luton: Add network support.
MAINTAINERS | 2 +- arch/mips/dts/luton_pcb090.dts | 51 ++ arch/mips/dts/luton_pcb091.dts | 51 ++ arch/mips/dts/mscc,luton.dtsi | 165 ++++++ configs/mscc_luton_defconfig | 1 + drivers/net/Kconfig | 7 +- drivers/net/Makefile | 2 +- drivers/net/mscc_eswitch/Kconfig | 17 + drivers/net/mscc_eswitch/Makefile | 3 + drivers/net/mscc_eswitch/luton_switch.c | 736 +++++++++++++++++++++++++ drivers/net/mscc_eswitch/mscc_mac_table.c | 74 +++ drivers/net/mscc_eswitch/mscc_mac_table.h | 19 + drivers/net/mscc_eswitch/mscc_miim.c | 74 +++ drivers/net/mscc_eswitch/mscc_miim.h | 12 + drivers/net/mscc_eswitch/mscc_xfer.c | 139 +++++ drivers/net/mscc_eswitch/mscc_xfer.h | 20 + drivers/net/{ => mscc_eswitch}/ocelot_switch.c | 299 +--------- 17 files changed, 1392 insertions(+), 280 deletions(-) create mode 100644 drivers/net/mscc_eswitch/Kconfig create mode 100644 drivers/net/mscc_eswitch/Makefile create mode 100644 drivers/net/mscc_eswitch/luton_switch.c create mode 100644 drivers/net/mscc_eswitch/mscc_mac_table.c create mode 100644 drivers/net/mscc_eswitch/mscc_mac_table.h create mode 100644 drivers/net/mscc_eswitch/mscc_miim.c create mode 100644 drivers/net/mscc_eswitch/mscc_miim.h create mode 100644 drivers/net/mscc_eswitch/mscc_xfer.c create mode 100644 drivers/net/mscc_eswitch/mscc_xfer.h rename drivers/net/{ => mscc_eswitch}/ocelot_switch.c (62%)