Skip to content
  • Jie Yang's avatar
    atl1c: Add AR8151 v2 support and change L0s/L1 routine · 8f574b35
    Jie Yang authored
    
    
    Add AR8151 v2.0 Gigabit 1000 support
    Change jumbo frame size to 6K
    Update L0s/L1 rountine
            when link speed is 100M or 1G, set L1 link timer to 4 for l1d_2 and l2c_b2
            set L1 link timer to 7 for l2c_b, set L1 link timer to 0xF for others.
    Update atl1c_suspend routine
    	just refactory the function, add atl1c_phy_power_saving routine,
    	when Wake On Lan enable, this func will be called to save power,
    	it will reautoneg PHY to 10/100M speed depend on the link
    	partners link capability.
    Update atl1c_configure_des_ring
            do not use l2c_b default SRAM configuration.
    
    Signed-off-by: default avatarJie Yang <Jie.Yang@atheros.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    8f574b35