* [PATCH v2] stmmac: dwmac-loongson: Add architecture dependency
@ 2023-11-15 10:53 Jean Delvare
2023-11-15 17:11 ` Simon Horman
2023-11-16 23:50 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Jean Delvare @ 2023-11-15 10:53 UTC (permalink / raw)
To: Keguang Zhang; +Cc: linux-mips, netdev, LKML, Simon Horman
Only present the DWMAC_LOONGSON option on architectures where it can
actually be used.
This follows the same logic as the DWMAC_INTEL option.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Keguang Zhang <keguang.zhang@gmail.com>
---
Changes since v1:
* Enable build testing (suggested by Simon Horman)
drivers/net/ethernet/stmicro/stmmac/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-6.6.orig/drivers/net/ethernet/stmicro/stmmac/Kconfig
+++ linux-6.6/drivers/net/ethernet/stmicro/stmmac/Kconfig
@@ -269,7 +269,7 @@ config DWMAC_INTEL
config DWMAC_LOONGSON
tristate "Loongson PCI DWMAC support"
default MACH_LOONGSON64
- depends on STMMAC_ETH && PCI
+ depends on (MACH_LOONGSON64 || COMPILE_TEST) && STMMAC_ETH && PCI
depends on COMMON_CLK
help
This selects the LOONGSON PCI bus support for the stmmac driver,
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] stmmac: dwmac-loongson: Add architecture dependency
2023-11-15 10:53 [PATCH v2] stmmac: dwmac-loongson: Add architecture dependency Jean Delvare
@ 2023-11-15 17:11 ` Simon Horman
2023-11-16 23:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2023-11-15 17:11 UTC (permalink / raw)
To: Jean Delvare; +Cc: Keguang Zhang, linux-mips, netdev, LKML
On Wed, Nov 15, 2023 at 11:53:31AM +0100, Jean Delvare wrote:
> Only present the DWMAC_LOONGSON option on architectures where it can
> actually be used.
>
> This follows the same logic as the DWMAC_INTEL option.
>
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Keguang Zhang <keguang.zhang@gmail.com>
> ---
> Changes since v1:
> * Enable build testing (suggested by Simon Horman)
Thanks for the update, this version looks good to me.
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] stmmac: dwmac-loongson: Add architecture dependency
2023-11-15 10:53 [PATCH v2] stmmac: dwmac-loongson: Add architecture dependency Jean Delvare
2023-11-15 17:11 ` Simon Horman
@ 2023-11-16 23:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-11-16 23:50 UTC (permalink / raw)
To: Jean Delvare; +Cc: keguang.zhang, linux-mips, netdev, linux-kernel, horms
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:
On Wed, 15 Nov 2023 11:53:31 +0100 you wrote:
> Only present the DWMAC_LOONGSON option on architectures where it can
> actually be used.
>
> This follows the same logic as the DWMAC_INTEL option.
>
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Keguang Zhang <keguang.zhang@gmail.com>
>
> [...]
Here is the summary with links:
- [v2] stmmac: dwmac-loongson: Add architecture dependency
https://git.kernel.org/netdev/net/c/7fbd5fc2b35a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-16 23:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-15 10:53 [PATCH v2] stmmac: dwmac-loongson: Add architecture dependency Jean Delvare
2023-11-15 17:11 ` Simon Horman
2023-11-16 23:50 ` patchwork-bot+netdevbpf
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).