Kconfig 690 B

1234567891011121314151617181920
  1. menuconfig RT_USING_PHY
  2. bool "Using ethernet phy device drivers"
  3. default n
  4. help
  5. Enable the Ethernet PHY framework so MAC drivers can negotiate link state
  6. via MII/MDIO and apply vendor-specific fixes. Required when using RMII/RGMII
  7. external PHYs.
  8. menuconfig RT_USING_PHY_V2
  9. bool "Using phy device and mii bus v2"
  10. depends on !RT_USING_PHY
  11. default n
  12. help
  13. Opt into the newer PHY/MDIO stack (version 2) which redesigns the PHY bus
  14. representation. Only enable this when migrating to the new API; it is
  15. mutually exclusive with the legacy PHY support.
  16. if RT_USING_DM && RT_USING_PHY_V2
  17. osource "$(SOC_DM_PHY_DIR)/Kconfig"
  18. endif