Skip to contentSkip to conversation

ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC

PATCH Superseded Peter Robinson 2 participants 3 messages Nov 6, 2016 – Nov 16, 2016

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC

There's not much point, except compile test, enabling the stmmac platform drivers unless the STM32 SoC is enabled. It's not useful without it.

---
 drivers/net/ethernet/stmicro/stmmac/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/stmicro/stmmac/Kconfig +1 -1
index 3818c5e..4b78168 100644
@@ -107,7 +107,7 @@ config DWMAC_STI
 config DWMAC_STM32
 	tristate "STM32 DWMAC support"
 	default ARCH_STM32
-	depends on OF && HAS_IOMEM
+	depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST)
 	select MFD_SYSCON
 	---help---
 	  Support for ethernet controller on STM32 SOCs.
Signature · 1 line
2.9.3
maintainer
#1 lore raw

From: Peter Robinson <[email protected]>
Date: Sun, 6 Nov 2016 20:04:37 +0000

Quoted 5 lines

There's not much point, except compile test, enabling the stmmac platform drivers unless the STM32 SoC is enabled. It's not useful without it.

Please don't post just some of the patches in a patch series.

Always post the complete series, with a proper "[PATCH 0/2] ..." posting at the beginning.

#2 lore raw
Quoted 7 lines · David Miller

From: Peter Robinson <[email protected]>
Date: Sun, 6 Nov 2016 20:04:37 +0000

Quoted 4 lines

There's not much point, except compile test, enabling the stmmac platform drivers unless the STM32 SoC is enabled. It's not useful without it.

Quoted 6 lines
Quoted 1 line

Please don't post just some of the patches in a patch series.

Always post the complete series, with a proper "[PATCH 0/2] ..." posting at the beginning.

Sorry, it was a stm branch, I should have broke it our differently. I can recompose and send this one again on it's own.

Peter