diff mbox

[U-Boot,v2,10/14] drivers: net: phy: add MV88E6xx options to Kconfig

Message ID 1489760991-9015-1-git-send-email-tharvey@gateworks.com
State Accepted
Commit b4f4b0f54bcc4e2c6a97e0bc9b3a3a1aea3cb41c
Delegated to: Stefano Babic
Headers show

Commit Message

Tim Harvey March 17, 2017, 2:29 p.m. UTC
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
v2: moved options to drivers/net/phy where MV88E6xx config already lived

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 drivers/net/phy/Kconfig | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Stefano Babic March 19, 2017, 5:05 p.m. UTC | #1
Hi Tim,

On 17/03/2017 15:29, Tim Harvey wrote:
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> ---
> v2: moved options to drivers/net/phy where MV88E6xx config already lived
> 
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> ---
>  drivers/net/phy/Kconfig | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
> index 1d514e9..6ee8bc3 100644
> --- a/drivers/net/phy/Kconfig
> +++ b/drivers/net/phy/Kconfig
> @@ -15,6 +15,19 @@ if PHYLIB
>  config MV88E61XX_SWITCH
>  	bool "Marvel MV88E61xx Ethernet switch PHY support."
>  
> +if MV88E61XX_SWITCH
> +
> +config MV88E61XX_CPU_PORT
> +	int "CPU Port"
> +
> +config MV88E61XX_PHY_PORTS
> +	hex "Bitmask of PHY Ports"
> +
> +config MV88E61XX_FIXED_PORTS
> +	hex "Bitmask of PHYless serdes Ports"
> +
> +endif # MV88E61XX_SWITCH
> +
>  config PHYLIB_10G
>  	bool "Generic 10G PHY support"
>  
> 

Reviewed-by: Stefano Babic <sbabic@denx.de>

Tim, I have already applied 1-9 to u-boot-imx- Last patches depend on
this one, so I let them in stand-by.

Regards,
Stefano
Joe Hershberger March 19, 2017, 5:47 p.m. UTC | #2
On Fri, Mar 17, 2017 at 9:29 AM, Tim Harvey <tharvey@gateworks.com> wrote:
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> ---
> v2: moved options to drivers/net/phy where MV88E6xx config already lived
>
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> ---

Acked-by: Joe Hershberger <joe.hershberger@ni.com>
diff mbox

Patch

diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 1d514e9..6ee8bc3 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -15,6 +15,19 @@  if PHYLIB
 config MV88E61XX_SWITCH
 	bool "Marvel MV88E61xx Ethernet switch PHY support."
 
+if MV88E61XX_SWITCH
+
+config MV88E61XX_CPU_PORT
+	int "CPU Port"
+
+config MV88E61XX_PHY_PORTS
+	hex "Bitmask of PHY Ports"
+
+config MV88E61XX_FIXED_PORTS
+	hex "Bitmask of PHYless serdes Ports"
+
+endif # MV88E61XX_SWITCH
+
 config PHYLIB_10G
 	bool "Generic 10G PHY support"