linux_dsm_epyc7002/drivers/net/dsa
Arnd Bergmann 95bed1a9fb net: dsa: ocelot: add NET_VENDOR_MICROSEMI dependency
Selecting MSCC_OCELOT_SWITCH is not possible when NET_VENDOR_MICROSEMI
is disabled:

WARNING: unmet direct dependencies detected for MSCC_OCELOT_SWITCH
  Depends on [n]: NETDEVICES [=y] && ETHERNET [=n] && NET_VENDOR_MICROSEMI [=n] && NET_SWITCHDEV [=y] && HAS_IOMEM [=y]
  Selected by [m]:
  - NET_DSA_MSCC_FELIX [=m] && NETDEVICES [=y] && HAVE_NET_DSA [=y] && NET_DSA [=y] && PCI [=y]

Add a Kconfig dependency on NET_VENDOR_MICROSEMI, which also implies
CONFIG_NETDEVICES.

Depending on a vendor config violates menuconfig locality for the DSA
driver, but is the smallest compromise since all other solutions are
much more complicated (see [0]).

https://www.spinics.net/lists/netdev/msg618808.html

Fixes: 5605194877 ("net: dsa: ocelot: add driver for Felix switch family")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-16 19:24:26 -08:00
..
b53 net: dsa: b53: Fix egress flooding settings 2019-12-16 16:08:09 -08:00
microchip net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
mv88e6xxx Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-16 21:51:42 -08:00
ocelot net: dsa: ocelot: add NET_VENDOR_MICROSEMI dependency 2019-12-16 19:24:26 -08:00
sja1105 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-25 14:57:26 -08:00
bcm_sf2_cfp.c
bcm_sf2_regs.h
bcm_sf2.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-09 11:04:37 -08:00
bcm_sf2.h net: dsa: bcm_sf2: Add support for optional reset controller line 2019-11-05 18:06:38 -08:00
dsa_loop_bdinfo.c
dsa_loop.c net: dsa: remove dsa_switch_alloc helper 2019-10-22 12:37:07 -07:00
dsa_loop.h
Kconfig net: dsa: ocelot: add driver for Felix switch family 2019-11-15 12:32:16 -08:00
lan9303_i2c.c
lan9303_mdio.c
lan9303-core.c net: dsa: remove dsa_switch_alloc helper 2019-10-22 12:37:07 -07:00
lan9303.h
lantiq_gswip.c net: dsa: remove dsa_switch_alloc helper 2019-10-22 12:37:07 -07:00
lantiq_pce.h
Makefile net: dsa: ocelot: add driver for Felix switch family 2019-11-15 12:32:16 -08:00
mt7530.c net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
mt7530.h
mv88e6060.c net: dsa: remove dsa_switch_alloc helper 2019-10-22 12:37:07 -07:00
mv88e6060.h
qca8k.c net: of_get_phy_mode: Change API to solve int/unit warnings 2019-11-04 11:21:25 -08:00
qca8k.h
realtek-smi-core.c net: dsa: remove dsa_switch_alloc helper 2019-10-22 12:37:07 -07:00
realtek-smi-core.h
rtl8366.c
rtl8366rb.c
vitesse-vsc73xx-core.c net: dsa: remove dsa_switch_alloc helper 2019-10-22 12:37:07 -07:00
vitesse-vsc73xx-platform.c
vitesse-vsc73xx-spi.c
vitesse-vsc73xx.h