Skip to content
  • Simon Guinot's avatar
    ARM: don't probe PHY address for LaCie boards · c59c0857
    Simon Guinot authored
    
    
    The command miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr) always
    returns 8 for the PHY address. It is the reset value for the PHY
    Address Register. Obviously, this default value could be incorrect.
    Moreover, as the PHY address is well known, there is no need to
    auto-detect it.
    
    Now, the PHY address must given as a parameter to the PHY initialization
    function. Additionally this patch also fixes some aesthetic issues.
    
    Signed-off-by: default avatarSimon Guinot <simon.guinot@sequanux.org>
    c59c0857