Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromtorvalds/linux

Commit40013ff

Browse files
ffainellidavem330
authored andcommitted
net: dsa: Fix functional dsa-loop dependency on FIXED_PHY
We have a functional dependency on the FIXED_PHY MDIO bus because we registerfixed PHY devices "the old way" which only works if the code that does this hashad a chance to run before the fixed MDIO bus is probed. Make sure we accountfor that and have dsa_loop_bdinfo.o be either built-in or modular depending onwhether CONFIG_FIXED_PHY reflects that too.Fixes:98cd155 ("net: dsa: Mock-up driver")Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent53e8269 commit40013ff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎drivers/net/dsa/Makefile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# SPDX-License-Identifier: GPL-2.0
22
obj-$(CONFIG_NET_DSA_BCM_SF2)+= bcm-sf2.o
33
bcm-sf2-objs:= bcm_sf2.o bcm_sf2_cfp.o
4-
obj-$(CONFIG_NET_DSA_LOOP)+= dsa_loop.o dsa_loop_bdinfo.o
4+
obj-$(CONFIG_NET_DSA_LOOP)+= dsa_loop.o
5+
ifdefCONFIG_NET_DSA_LOOP
6+
obj-$(CONFIG_FIXED_PHY)+= dsa_loop_bdinfo.o
7+
endif
58
obj-$(CONFIG_NET_DSA_MT7530)+= mt7530.o
69
obj-$(CONFIG_NET_DSA_MV88E6060) += mv88e6060.o
710
obj-$(CONFIG_NET_DSA_QCA8K)+= qca8k.o

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp