]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
atl1c: Add AR8151 v2 support and change L0s/L1 routine
authorJie Yang <Jie.Yang@atheros.com>
Tue, 1 Jun 2010 07:28:12 +0000 (00:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Jun 2010 07:28:12 +0000 (00:28 -0700)
commit8f574b35f22fbb9b5e5f1d11ad6b55b6f35f4533
tree3baea347e8214e9e573436b32a92f37f1c7d1195
parentaac4dddc358acfd9d98b20024a42c34dfab31c39
atl1c: Add AR8151 v2 support and change L0s/L1 routine

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: Jie Yang <Jie.Yang@atheros.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atl1c/atl1c.h
drivers/net/atl1c/atl1c_hw.c
drivers/net/atl1c/atl1c_hw.h
drivers/net/atl1c/atl1c_main.c