diff options
author | Huang, Xiong <xiong@qca.qualcomm.com> | 2012-04-26 00:27:12 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-26 13:03:32 +0400 |
commit | 7737fd96450236accb4856916366240a96de97be (patch) | |
tree | 82cac7341900cbba2dbed1fc488de56a2346d27b /lib/flex_array.c | |
parent | ce3ba0c995c194bb922fd449d72a5d006c702aec (diff) | |
download | linux-7737fd96450236accb4856916366240a96de97be.tar.xz |
atl1c: refine SERDES-clock related code
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: xiong <xiong@qca.qualcomm.com>
Tested-by: Liu David <dwliu@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions