]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/phy/Kconfig
Move CONFIG_PHY_ADDR to Kconfig
[u-boot] / drivers / net / phy / Kconfig
index e32f1eb1c047016e5dfeba5921f34210b2a5988b..25de3fb2266586bd2b234f81dda702fd68e95a2d 100644 (file)
@@ -7,11 +7,36 @@ config MV88E6352_SWITCH
 
 menuconfig PHYLIB
        bool "Ethernet PHY (physical media interface) support"
+       depends on NET
        help
          Enable Ethernet PHY (physical media interface) support.
 
 if PHYLIB
 
+config PHY_ADDR
+       int "PHY address"
+       default 1 if ARCH_SUNXI
+       default 0
+       help
+         The address of PHY on MII bus. Usually in range of 0 to 31.
+
+config B53_SWITCH
+       bool "Broadcom BCM53xx (RoboSwitch) Ethernet switch PHY support."
+       help
+         Enable support for Broadcom BCM53xx (RoboSwitch) Ethernet switches.
+         This currently supports BCM53125 and similar models.
+
+if B53_SWITCH
+
+config B53_CPU_PORT
+       int "CPU port"
+       default 8
+
+config B53_PHY_PORTS
+       hex "Bitmask of PHY ports"
+
+endif # B53_SWITCH
+
 config MV88E61XX_SWITCH
        bool "Marvel MV88E61xx Ethernet switch PHY support."