Kconfig 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. #
  2. # PHY Layer Configuration
  3. #
  4. menuconfig PHYLIB
  5. tristate "PHY Device support and infrastructure"
  6. depends on NETDEVICES
  7. help
  8. Ethernet controllers are usually attached to PHY
  9. devices. This option provides infrastructure for
  10. managing PHY devices.
  11. if PHYLIB
  12. config SWPHY
  13. bool
  14. config LED_TRIGGER_PHY
  15. bool "Support LED triggers for tracking link state"
  16. depends on LEDS_TRIGGERS
  17. ---help---
  18. Adds support for a set of LED trigger events per-PHY. Link
  19. state change will trigger the events, for consumption by an
  20. LED class driver. There are triggers for each link speed currently
  21. supported by the phy, and are of the form:
  22. <mii bus id>:<phy>:<speed>
  23. Where speed is in the form:
  24. <Speed in megabits>Mbps or <Speed in gigabits>Gbps
  25. comment "MDIO bus device drivers"
  26. config MDIO_BCM_IPROC
  27. tristate "Broadcom iProc MDIO bus controller"
  28. depends on ARCH_BCM_IPROC || COMPILE_TEST
  29. depends on HAS_IOMEM && OF_MDIO
  30. help
  31. This module provides a driver for the MDIO busses found in the
  32. Broadcom iProc SoC's.
  33. config MDIO_BCM_UNIMAC
  34. tristate "Broadcom UniMAC MDIO bus controller"
  35. depends on HAS_IOMEM
  36. help
  37. This module provides a driver for the Broadcom UniMAC MDIO busses.
  38. This hardware can be found in the Broadcom GENET Ethernet MAC
  39. controllers as well as some Broadcom Ethernet switches such as the
  40. Starfighter 2 switches.
  41. config MDIO_BITBANG
  42. tristate "Bitbanged MDIO buses"
  43. help
  44. This module implements the MDIO bus protocol in software,
  45. for use by low level drivers that export the ability to
  46. drive the relevant pins.
  47. If in doubt, say N.
  48. config MDIO_BUS_MUX
  49. tristate
  50. depends on OF_MDIO
  51. help
  52. This module provides a driver framework for MDIO bus
  53. multiplexers which connect one of several child MDIO busses
  54. to a parent bus. Switching between child busses is done by
  55. device specific drivers.
  56. config MDIO_BUS_MUX_BCM_IPROC
  57. tristate "Broadcom iProc based MDIO bus multiplexers"
  58. depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
  59. select MDIO_BUS_MUX
  60. default ARCH_BCM_IPROC
  61. help
  62. This module provides a driver for MDIO bus multiplexers found in
  63. iProc based Broadcom SoCs. This multiplexer connects one of several
  64. child MDIO bus to a parent bus. Buses could be internal as well as
  65. external and selection logic lies inside the same multiplexer.
  66. config MDIO_BUS_MUX_GPIO
  67. tristate "GPIO controlled MDIO bus multiplexers"
  68. depends on OF_GPIO && OF_MDIO
  69. select MDIO_BUS_MUX
  70. help
  71. This module provides a driver for MDIO bus multiplexers that
  72. are controlled via GPIO lines. The multiplexer connects one of
  73. several child MDIO busses to a parent bus. Child bus
  74. selection is under the control of GPIO lines.
  75. config MDIO_BUS_MUX_MMIOREG
  76. tristate "MMIO device-controlled MDIO bus multiplexers"
  77. depends on OF_MDIO && HAS_IOMEM
  78. select MDIO_BUS_MUX
  79. help
  80. This module provides a driver for MDIO bus multiplexers that
  81. are controlled via a simple memory-mapped device, like an FPGA.
  82. The multiplexer connects one of several child MDIO busses to a
  83. parent bus. Child bus selection is under the control of one of
  84. the FPGA's registers.
  85. Currently, only 8-bit registers are supported.
  86. config MDIO_CAVIUM
  87. tristate
  88. config MDIO_GPIO
  89. tristate "GPIO lib-based bitbanged MDIO buses"
  90. depends on MDIO_BITBANG && GPIOLIB
  91. ---help---
  92. Supports GPIO lib-based MDIO busses.
  93. To compile this driver as a module, choose M here: the module
  94. will be called mdio-gpio.
  95. config MDIO_HISI_FEMAC
  96. tristate "Hisilicon FEMAC MDIO bus controller"
  97. depends on HAS_IOMEM && OF_MDIO
  98. help
  99. This module provides a driver for the MDIO busses found in the
  100. Hisilicon SoC that have an Fast Ethernet MAC.
  101. config MDIO_MOXART
  102. tristate "MOXA ART MDIO interface support"
  103. depends on ARCH_MOXART
  104. help
  105. This driver supports the MDIO interface found in the network
  106. interface units of the MOXA ART SoC
  107. config MDIO_OCTEON
  108. tristate "Octeon and some ThunderX SOCs MDIO buses"
  109. depends on 64BIT
  110. depends on HAS_IOMEM
  111. select MDIO_CAVIUM
  112. help
  113. This module provides a driver for the Octeon and ThunderX MDIO
  114. buses. It is required by the Octeon and ThunderX ethernet device
  115. drivers on some systems.
  116. config MDIO_SUN4I
  117. tristate "Allwinner sun4i MDIO interface support"
  118. depends on ARCH_SUNXI
  119. help
  120. This driver supports the MDIO interface found in the network
  121. interface units of the Allwinner SoC that have an EMAC (A10,
  122. A12, A10s, etc.)
  123. config MDIO_THUNDER
  124. tristate "ThunderX SOCs MDIO buses"
  125. depends on 64BIT
  126. depends on PCI
  127. select MDIO_CAVIUM
  128. help
  129. This driver supports the MDIO interfaces found on Cavium
  130. ThunderX SoCs when the MDIO bus device appears as a PCI
  131. device.
  132. config MDIO_XGENE
  133. tristate "APM X-Gene SoC MDIO bus controller"
  134. depends on ARCH_XGENE || COMPILE_TEST
  135. help
  136. This module provides a driver for the MDIO busses found in the
  137. APM X-Gene SoC's.
  138. comment "MII PHY device drivers"
  139. config AMD_PHY
  140. tristate "AMD PHYs"
  141. ---help---
  142. Currently supports the am79c874
  143. config AQUANTIA_PHY
  144. tristate "Aquantia PHYs"
  145. ---help---
  146. Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
  147. config AT803X_PHY
  148. tristate "AT803X PHYs"
  149. ---help---
  150. Currently supports the AT8030 and AT8035 model
  151. config BCM63XX_PHY
  152. tristate "Broadcom 63xx SOCs internal PHY"
  153. depends on BCM63XX
  154. select BCM_NET_PHYLIB
  155. ---help---
  156. Currently supports the 6348 and 6358 PHYs.
  157. config BCM7XXX_PHY
  158. tristate "Broadcom 7xxx SOCs internal PHYs"
  159. select BCM_NET_PHYLIB
  160. ---help---
  161. Currently supports the BCM7366, BCM7439, BCM7445, and
  162. 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
  163. config BCM87XX_PHY
  164. tristate "Broadcom BCM8706 and BCM8727 PHYs"
  165. help
  166. Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
  167. config BCM_CYGNUS_PHY
  168. tristate "Broadcom Cygnus SoC internal PHY"
  169. depends on ARCH_BCM_CYGNUS || COMPILE_TEST
  170. depends on MDIO_BCM_IPROC
  171. select BCM_NET_PHYLIB
  172. ---help---
  173. This PHY driver is for the 1G internal PHYs of the Broadcom
  174. Cygnus Family SoC.
  175. Currently supports internal PHY's used in the BCM11300,
  176. BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
  177. BCM58303 & BCM58305 Broadcom Cygnus SoCs.
  178. config BCM_NET_PHYLIB
  179. tristate
  180. config BROADCOM_PHY
  181. tristate "Broadcom PHYs"
  182. select BCM_NET_PHYLIB
  183. ---help---
  184. Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
  185. BCM5481, BCM54810 and BCM5482 PHYs.
  186. config CICADA_PHY
  187. tristate "Cicada PHYs"
  188. ---help---
  189. Currently supports the cis8204
  190. config DAVICOM_PHY
  191. tristate "Davicom PHYs"
  192. ---help---
  193. Currently supports dm9161e and dm9131
  194. config DP83848_PHY
  195. tristate "Texas Instruments DP83848 PHY"
  196. ---help---
  197. Supports the DP83848 PHY.
  198. config DP83867_PHY
  199. tristate "Texas Instruments DP83867 Gigabit PHY"
  200. ---help---
  201. Currently supports the DP83867 PHY.
  202. config FIXED_PHY
  203. tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
  204. depends on PHYLIB
  205. select SWPHY
  206. ---help---
  207. Adds the platform "fixed" MDIO Bus to cover the boards that use
  208. PHYs that are not connected to the real MDIO bus.
  209. Currently tested with mpc866ads and mpc8349e-mitx.
  210. config ICPLUS_PHY
  211. tristate "ICPlus PHYs"
  212. ---help---
  213. Currently supports the IP175C and IP1001 PHYs.
  214. config INTEL_XWAY_PHY
  215. tristate "Intel XWAY PHYs"
  216. ---help---
  217. Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
  218. These PHYs are marked as standalone chips under the names
  219. PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
  220. SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
  221. config LSI_ET1011C_PHY
  222. tristate "LSI ET1011C PHY"
  223. ---help---
  224. Supports the LSI ET1011C PHY.
  225. config LXT_PHY
  226. tristate "Intel LXT PHYs"
  227. ---help---
  228. Currently supports the lxt970, lxt971
  229. config MARVELL_PHY
  230. tristate "Marvell PHYs"
  231. ---help---
  232. Currently has a driver for the 88E1011S
  233. config MESON_GXL_PHY
  234. tristate "Amlogic Meson GXL Internal PHY"
  235. depends on ARCH_MESON || COMPILE_TEST
  236. ---help---
  237. Currently has a driver for the Amlogic Meson GXL Internal PHY
  238. config MICREL_PHY
  239. tristate "Micrel PHYs"
  240. ---help---
  241. Supports the KSZ9021, VSC8201, KS8001 PHYs.
  242. config MICROCHIP_PHY
  243. tristate "Microchip PHYs"
  244. help
  245. Supports the LAN88XX PHYs.
  246. config MICROSEMI_PHY
  247. tristate "Microsemi PHYs"
  248. ---help---
  249. Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
  250. config NATIONAL_PHY
  251. tristate "National Semiconductor PHYs"
  252. ---help---
  253. Currently supports the DP83865 PHY.
  254. config QSEMI_PHY
  255. tristate "Quality Semiconductor PHYs"
  256. ---help---
  257. Currently supports the qs6612
  258. config REALTEK_PHY
  259. tristate "Realtek PHYs"
  260. ---help---
  261. Supports the Realtek 821x PHY.
  262. config SMSC_PHY
  263. tristate "SMSC PHYs"
  264. ---help---
  265. Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
  266. config STE10XP
  267. tristate "STMicroelectronics STe10Xp PHYs"
  268. ---help---
  269. This is the driver for the STe100p and STe101p PHYs.
  270. config TERANETICS_PHY
  271. tristate "Teranetics PHYs"
  272. ---help---
  273. Currently supports the Teranetics TN2020
  274. config VITESSE_PHY
  275. tristate "Vitesse PHYs"
  276. ---help---
  277. Currently supports the vsc8244
  278. config XILINX_GMII2RGMII
  279. tristate "Xilinx GMII2RGMII converter driver"
  280. ---help---
  281. This driver support xilinx GMII to RGMII IP core it provides
  282. the Reduced Gigabit Media Independent Interface(RGMII) between
  283. Ethernet physical media devices and the Gigabit Ethernet controller.
  284. endif # PHYLIB
  285. config MICREL_KS8995MA
  286. tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
  287. depends on SPI