Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Freescale device configuration
  4. #
  5. config NET_VENDOR_FREESCALE
  6. bool "Freescale devices"
  7. default y
  8. depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \
  9. M523x || M527x || M5272 || M528x || M520x || M532x || \
  10. ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \
  11. ARCH_LAYERSCAPE || ARCH_S32 || COMPILE_TEST
  12. help
  13. If you have a network (Ethernet) card belonging to this class, say Y.
  14. Note that the answer to this question doesn't directly affect the
  15. kernel: saying N will just cause the configurator to skip all
  16. the questions about Freescale devices. If you say Y, you will be
  17. asked for your specific card in the following questions.
  18. if NET_VENDOR_FREESCALE
  19. config FEC
  20. tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
  21. depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \
  22. ARCH_MXC || ARCH_S32 || SOC_IMX28 || COMPILE_TEST)
  23. default ARCH_MXC || SOC_IMX28 if ARM
  24. depends on PTP_1588_CLOCK_OPTIONAL
  25. select CRC32
  26. select PHYLIB
  27. select PAGE_POOL
  28. imply NET_SELFTESTS
  29. help
  30. Say Y here if you want to use the built-in 10/100 Fast ethernet
  31. controller on some Motorola ColdFire and Freescale i.MX/S32 processors.
  32. config FEC_MPC52xx
  33. tristate "FEC MPC52xx driver"
  34. depends on PPC_MPC52xx && PPC_BESTCOMM
  35. select CRC32
  36. select PHYLIB
  37. select PPC_BESTCOMM_FEC
  38. help
  39. This option enables support for the MPC5200's on-chip
  40. Fast Ethernet Controller
  41. If compiled as module, it will be called fec_mpc52xx.
  42. config FEC_MPC52xx_MDIO
  43. bool "FEC MPC52xx MDIO bus driver"
  44. depends on FEC_MPC52xx
  45. default y
  46. help
  47. The MPC5200's FEC can connect to the Ethernet either with
  48. an external MII PHY chip or 10 Mbps 7-wire interface
  49. (Motorola? industry standard).
  50. If your board uses an external PHY connected to FEC, enable this.
  51. If not sure, enable.
  52. If compiled as module, it will be called fec_mpc52xx_phy.
  53. source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
  54. source "drivers/net/ethernet/freescale/fman/Kconfig"
  55. config FSL_PQ_MDIO
  56. tristate "Freescale PQ MDIO"
  57. select PHYLIB
  58. help
  59. This driver supports the MDIO bus used by the gianfar and UCC drivers.
  60. config FSL_XGMAC_MDIO
  61. tristate "Freescale XGMAC MDIO"
  62. select PHYLIB
  63. depends on OF
  64. select OF_MDIO
  65. help
  66. This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and
  67. on the FMan mEMAC (which supports both Clauses 22 and 45)
  68. config UCC_GETH
  69. tristate "Freescale QE Gigabit Ethernet"
  70. depends on QUICC_ENGINE && PPC32
  71. select FSL_PQ_MDIO
  72. select PHYLIB
  73. select FIXED_PHY
  74. help
  75. This driver supports the Gigabit Ethernet mode of the QUICC Engine,
  76. which is available on some Freescale SOCs.
  77. config UGETH_TX_ON_DEMAND
  78. bool "Transmit on Demand support"
  79. depends on UCC_GETH
  80. config GIANFAR
  81. tristate "Gianfar Ethernet"
  82. depends on HAS_DMA
  83. select FSL_PQ_MDIO
  84. select PHYLIB
  85. select FIXED_PHY
  86. select CRC32
  87. help
  88. This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
  89. and MPC86xx family of chips, the eTSEC on LS1021A and the FEC
  90. on the 8540.
  91. source "drivers/net/ethernet/freescale/dpaa/Kconfig"
  92. source "drivers/net/ethernet/freescale/dpaa2/Kconfig"
  93. source "drivers/net/ethernet/freescale/enetc/Kconfig"
  94. endif # NET_VENDOR_FREESCALE