Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • include
  • linux
  • phy.h
Find file BlameHistoryPermalink
  • Maxime Chevallier's avatar
    net: phy: Extract genphy_c45_pma_read_abilities from marvell10g · ac3f5533
    Maxime Chevallier authored Feb 11, 2019
    
    
    Marvell 10G PHY driver has a generic way of initializing the supported
    link modes by reading the PHY's C45 PMA abilities. This can be made
    generic, since these registers are part of the 802.3 specifications.
    
    This commit extracts the config_init link_mode initialization code from
    marvell10g and uses it to introduce the genphy_c45_pma_read_abilities
    function.
    
    Only PMA modes are read, it's still up to the caller to set the Pause
    parameters.
    
    Signed-off-by: default avatarMaxime Chevallier <maxime.chevallier@bootlin.com>
    Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ac3f5533
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7