]> git.baikalelectronics.ru Git - kernel.git/commit
net: Always descend into dsa/
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 13 May 2019 21:06:24 +0000 (14:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 May 2019 22:20:11 +0000 (15:20 -0700)
commitf4b3bebf9927378efd21fa9ca34c8664cb4e51ce
tree224fa5166e59408cd1c0378495a5924de34063eb
parent83450ce6bdba5d701b3464d09e6204a3b51cadc7
net: Always descend into dsa/

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 <jiri@resnulli.us>
Fixes: 8d9f3a862d5b ("net: dsa: Fix functional dsa-loop dependency on FIXED_PHY")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Tested-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Makefile