• Russell King (Oracle)'s avatar
    net: phylink: use legacy_pre_march2020 · 001f4261
    Russell King (Oracle) authored
    Use the legacy flag to indicate whether we should operate in legacy
    mode. This allows us to stop using the presence of a PCS as an
    indicator to the age of the phylink user, and make PCS presence
    optional.
    
    Legacy mode involves:
    1) calling mac_config() whenever the link comes up
    2) calling mac_config() whenever the inband advertisement changes,
       possibly followed by a call to mac_an_restart()
    3) making use of mac_an_restart()
    4) making use of mac_pcs_get_state()
    
    All the above functionality was moved to a seperate "PCS" block of
    operations in March 2020.
    
    Update the documents to indicate that the differences that this flag
    makes.
    Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    001f4261
phylink.c 85.9 KB