On Mon, 13 May 2019 14:06:24 -0700, Florian Fainelli <f.faine...@gmail.com> wrote: > Jiri reported that with a kernel built with CONFIG_FIXED_PHY=y, > CONFIG_NET_DSA=m and CONFIG_NET_DSA_LOOP=m, we would not get to a > functional state where the mock-up driver is registered. Turns out that > we are not descending into drivers/net/dsa/ unconditionally, and we > won't be able to link-in dsa_loop_bdinfo.o which does the actual mock-up > mdio device registration. > > Reported-by: Jiri Pirko <j...@resnulli.us> > Fixes: 40013ff20b1b ("net: dsa: Fix functional dsa-loop dependency on > FIXED_PHY") > Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Reviewed-by: Vivien Didelot <vivien.dide...@gmail.com>