Messages in this thread | | | Date | Mon, 16 May 2022 19:58:06 -0700 | Subject | Re: [RFC Patch net-next v2 8/9] net: dsa: microchip: add the phylink get_caps | From | Florian Fainelli <> |
| |
On 5/13/2022 3:22 AM, Arun Ramadoss wrote: > This patch add the support for phylink_get_caps for ksz8795 and ksz9477 > series switch. It updates the struct ksz_switch_chip with the details of > the internal phys and xmii interface. Then during the get_caps based on > the bits set in the structure, corresponding phy mode is set. > > Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Many ways to skin a cat^w report what a given port can do to phylink, I would have probably used a bitmask for each type of interface, but this works as well. -- Florian
| |