public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 -next 0/2] dpaa2: fix config relation with FSL_DPAA2_SWITCH
@ 2026-03-09 12:50 Cai Xinchen
  2026-03-09 12:50 ` [PATCH v2 -next 1/2] dpaa2: add select config for FSL_DPAA2_SWITCH Cai Xinchen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Cai Xinchen @ 2026-03-09 12:50 UTC (permalink / raw)
  To: ioana.ciornei, andrew+netdev, davem, edumazet, kuba, pabeni
  Cc: netdev, linux-kernel, caixinchen1

When compile FSL_DPAA2_SWITCH, it needs to set CONFIG_FSL_DPAA2_ETH=y,
otherwise it cannot be compiled.
And as Ioana Ciornei sugggested, FSL_DPAA2_SWITCH included dpaa2-mac.o in
the driver, but it does not select PCS_LYNX, PHYLINK and FSL_XGMAC_MDIO

v1->v2
There is no code dependency between the dpaa2-switch driver and the
dpaa2-eth, so use Makefile to control dpaa2-eth instead of using depending
on in Kconfig.
And add select PCS_LYNX, PHYLINK and FSL_XGMAC_MDIO for FSL_DPAA2_SWITCH.

Cai Xinchen (2):
  dpaa2: add select config for FSL_DPAA2_SWITCH
  dpaa2: compile dpaa2 even CONFIG_FSL_DPAA2_ETH=n

 drivers/net/ethernet/freescale/Makefile      | 3 +--
 drivers/net/ethernet/freescale/dpaa2/Kconfig | 3 +++
 2 files changed, 4 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-03-11  8:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-09 12:50 [PATCH v2 -next 0/2] dpaa2: fix config relation with FSL_DPAA2_SWITCH Cai Xinchen
2026-03-09 12:50 ` [PATCH v2 -next 1/2] dpaa2: add select config for FSL_DPAA2_SWITCH Cai Xinchen
2026-03-09 12:50 ` [PATCH v2 -next 2/2] dpaa2: compile dpaa2 even CONFIG_FSL_DPAA2_ETH=n Cai Xinchen
2026-03-10 18:00 ` [PATCH v2 -next 0/2] dpaa2: fix config relation with FSL_DPAA2_SWITCH Simon Horman
2026-03-11  8:02 ` Ioana Ciornei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox