Skip to contentSkip to conversation

net/fsl: simplify Kconfig dependency list for fsl networking

PATCH In review Stuart Yoder 2 participants 2 messages Aug 13, 2015 – Aug 14, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/fsl: simplify Kconfig dependency list for fsl networking

make the list of Kconfig dependencies for Freescale networking more general. Simplify to supported
architectures: ARM, ARM64, PPC, M68K

---
 drivers/net/ethernet/freescale/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/net/ethernet/freescale/Kconfig +1 -3
index ff76d4e..70782d7 100644
@@ -5,9 +5,7 @@
 config NET_VENDOR_FREESCALE
 	bool "Freescale devices"
 	default y
-	depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \
-		   M523x || M527x || M5272 || M528x || M520x || M532x || \
-		   ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM)
+	depends on M68K || PPC || ARM || ARM64
 	---help---
 	  If you have a network (Ethernet) card belonging to this class, say Y.
 
Signature · 1 line
2.3.3
#1 lore raw
Quoted 14 lines · Stuart Yoder

make the list of Kconfig dependencies for Freescale networking more general. Simplify to supported
architectures: ARM, ARM64, PPC, M68K

---
 drivers/net/ethernet/freescale/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/net/ethernet/freescale/Kconfig +0 -0
index ff76d4e..70782d7 100644

drivers/net/ethernet/freescale/Kconfig line 10

Quoted 9 lines
drivers/net/ethernet/freescale/Kconfig +1 -3
@@ -5,9 +5,7 @@
 config NET_VENDOR_FREESCALE
        bool "Freescale devices"
        default y
-       depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \
-                  M523x || M527x || M5272 || M528x || M520x || M532x || \
-                  ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM)
+       depends on M68K || PPC || ARM || ARM64
        ---help---
          If you have a network (Ethernet) card belonging to this class, say Y.

This breaks m68k/allmodconfig:

drivers/net/ethernet/freescale/gianfar.c: In function ‘gfar_parse_group’:
drivers/net/ethernet/freescale/gianfar.c:684: error: ‘NO_IRQ’ undeclared (first use in this function) drivers/net/ethernet/freescale/gianfar.c:684: error: (Each undeclared identifier is reported only once drivers/net/ethernet/freescale/gianfar.c:684: error: for each function it appears in.)

P.S. Hint: Would have been caught earlier if the NET_VENDOR_* symbol

     had "|| COMPILE_TEST" among its dependencies.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds