[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190612.110142.1987648912531453321.davem@davemloft.net>
Date: Wed, 12 Jun 2019 11:01:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: f.fainelli@...il.com
Cc: netdev@...r.kernel.org, ioana.ciornei@....com, olteanv@...il.com,
rmk+kernel@...linux.org.uk, andrew@...n.ch,
vivien.didelot@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: dsa: Deal with non-existing
PHY/fixed-link
From: Florian Fainelli <f.fainelli@...il.com>
Date: Mon, 10 Jun 2019 12:31:49 -0700
> We need to specifically deal with phylink_of_phy_connect() returning
> -ENODEV, because this can happen when a CPU/DSA port does connect
> neither to a PHY, nor has a fixed-link property. This is a valid use
> case that is permitted by the binding and indicates to the switch:
> auto-configure port with maximum capabilities.
>
> Fixes: 0e27921816ad ("net: dsa: Use PHYLINK for the CPU/DSA ports")
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Applied.
Powered by blists - more mailing lists