
Am 09.06.19 um 15:27 schrieb Horatiu Vultur:
Because all MSCC SoC use the same MDIO bus, put the implementation in one common file(mscc_miim) and make all the other MSCC network drivers to use these functions.
Signed-off-by: Horatiu Vultur horatiu.vultur@microchip.com
drivers/net/mscc_eswitch/Makefile | 10 +-- drivers/net/mscc_eswitch/jr2_switch.c | 119 ++---------------------------- drivers/net/mscc_eswitch/luton_switch.c | 101 +------------------------ drivers/net/mscc_eswitch/mscc_miim.c | 28 +++++++ drivers/net/mscc_eswitch/mscc_miim.h | 14 +++- drivers/net/mscc_eswitch/ocelot_switch.c | 104 +------------------------- drivers/net/mscc_eswitch/serval_switch.c | 101 +------------------------ drivers/net/mscc_eswitch/servalt_switch.c | 102 +------------------------ 8 files changed, 63 insertions(+), 516 deletions(-)
Reviewed-by: Daniel Schwierzeck daniel.schwierzeck@gmail.com