lkml.org 
[lkml]   [2022]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [RFC Patch net-next v2 8/9] net: dsa: microchip: add the phylink get_caps
    From


    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

    \
     
     \ /
      Last update: 2022-05-17 04:58    [W:2.446 / U:0.124 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site