• Huang, Xiong's avatar
    atl1c: refine SERDES-clock related code · 7737fd96
    Huang, Xiong authored
    bit 17/18 of reg1424 must be clear for l2cb 1.x, or it will cause
    the write-reg operation fail without cable connected.
    so, please do connect the cable when apply this patch to the driver
    to make sure these 2bits are cleared by new driver.
    The revised code is move to al1c_reset_mac.
    SERDES register definition is refined as well.
    
    when do reset MAC, speed/duplex control right should be transferred
    to software before do PHY auto-neg -- by bit MASTER_CTRL_SPEED_MODE_SW.
    SERDES register definition is refined as well.
    Signed-off-by: default avatarxiong <xiong@qca.qualcomm.com>
    Tested-by: default avatarLiu David <dwliu@qca.qualcomm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    7737fd96
atl1c_ethtool.c 8.75 KB