diff mbox series

net: mscc: ocelot: Allow using without PCI on t1040 SoC

Message ID 20201014061105.26655-1-fido_max@inbox.ru (mailing list archive)
State Not Applicable
Delegated to: Netdev Maintainers
Headers show
Series net: mscc: ocelot: Allow using without PCI on t1040 SoC | expand

Commit Message

Maxim Kochetkov Oct. 14, 2020, 6:11 a.m. UTC
There is no need to select FSL_ENETC_MDIO on t1040 SoC (ppc).

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
---
 drivers/net/dsa/ocelot/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
2.27.0

Comments

Vladimir Oltean Oct. 14, 2020, 8:56 a.m. UTC | #1
Hi Maxim,

On Wed, Oct 14, 2020 at 09:11:05AM +0300, Maxim Kochetkov wrote:
> There is no need to select FSL_ENETC_MDIO on t1040 SoC (ppc).
> 
> Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
> ---

Please submit your changes after you've used net-next for a while.
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/tree/drivers/net/dsa/ocelot/Kconfig
diff mbox series

Patch

diff --git a/drivers/net/dsa/ocelot/Kconfig b/drivers/net/dsa/ocelot/Kconfig
index 2d23ccef7d0e..307331e7783c 100644
--- a/drivers/net/dsa/ocelot/Kconfig
+++ b/drivers/net/dsa/ocelot/Kconfig
@@ -1,13 +1,13 @@ 
 # SPDX-License-Identifier: GPL-2.0-only
 config NET_DSA_MSCC_FELIX
	tristate "Ocelot / Felix Ethernet switch support"
-	depends on NET_DSA && PCI
+	depends on NET_DSA && (PCI || PPC)
	depends on NET_VENDOR_MICROSEMI
	depends on NET_VENDOR_FREESCALE
	depends on HAS_IOMEM
	select MSCC_OCELOT_SWITCH_LIB
	select NET_DSA_TAG_OCELOT
-	select FSL_ENETC_MDIO
+	select FSL_ENETC_MDIO if !PPC
	help
	  This driver supports network switches from the Vitesse /
	  Microsemi / Microchip Ocelot family of switching cores that are