Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-de
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-de
  • Repository
Switch branch/tag
  • linux-de
  • drivers
  • net
  • phy
  • marvell.c
Find file BlameHistoryPermalink
  • Charles-Antoine Couret's avatar
    Marvell phy: check link status in case of fiber link. · 6cfb3bcc
    Charles-Antoine Couret authored Jul 19, 2016
    
    
    For concerned phy, the fiber link is checked before the copper link.
    According to datasheet, the link which is up is enabled.
    
    If both links are down, copper link would be used.
    To detect fiber link status, we used the real time status
    because of troubles with the copper method.
    
    Tested with Marvell 88E1512.
    
    Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
    Signed-off-by: default avatarCharles-Antoine Couret <charles-antoine.couret@nexvision.fr>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6cfb3bcc