Skip to content
  • Tomas Hlavacek's avatar
    bc72056b
    Omnia: Add SFP insert/remove handler daemon · bc72056b
    Tomas Hlavacek authored
    Omnia has GPIO expander that generates IRQs when the SFP is inserted or
    removed.
    
    mvneta driver in Omnia kernel is hacked to export attribute that sets
    the target PHY. Catch is that interface has to be restarted after a switch
    of the target PHY has happened.
    
    This daemon connects this together: It waits for IRQ (in fact for GPIO
    change) and performs the PHY switch and restart of network.
    
    This is only a temporary solution for the meantime between Omnia release
    and phylink driver adoption.
    bc72056b
    Omnia: Add SFP insert/remove handler daemon
    Tomas Hlavacek authored
    Omnia has GPIO expander that generates IRQs when the SFP is inserted or
    removed.
    
    mvneta driver in Omnia kernel is hacked to export attribute that sets
    the target PHY. Catch is that interface has to be restarted after a switch
    of the target PHY has happened.
    
    This daemon connects this together: It waits for IRQ (in fact for GPIO
    change) and performs the PHY switch and restart of network.
    
    This is only a temporary solution for the meantime between Omnia release
    and phylink driver adoption.
Loading