netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: mscc: ocelot: Allow using without PCI on t1040 SoC
@ 2020-10-14  6:11 Maxim Kochetkov
  2020-10-14  8:56 ` Vladimir Oltean
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Kochetkov @ 2020-10-14  6:11 UTC (permalink / raw)
  To: netdev; +Cc: Vladimir Oltean, Maxim Kochetkov

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(-)

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
--
2.27.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: mscc: ocelot: Allow using without PCI on t1040 SoC
  2020-10-14  6:11 [PATCH] net: mscc: ocelot: Allow using without PCI on t1040 SoC Maxim Kochetkov
@ 2020-10-14  8:56 ` Vladimir Oltean
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Oltean @ 2020-10-14  8:56 UTC (permalink / raw)
  To: Maxim Kochetkov; +Cc: netdev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-14  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-14  6:11 [PATCH] net: mscc: ocelot: Allow using without PCI on t1040 SoC Maxim Kochetkov
2020-10-14  8:56 ` Vladimir Oltean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).