]> git.baikalelectronics.ru Git - kernel.git/commit
jme: PHY configuration for compatible issue
authorAries Lee <arieslee@jmicron.com>
Mon, 21 Nov 2011 10:20:42 +0000 (10:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2011 00:21:09 +0000 (19:21 -0500)
commitf43a8bf27980fb382d88d208b745c7e9d50bd20f
treefc18d6bd235fed7c22153961dedec01b56662fd3
parent28faf7a04f96798d74b28904f865544bbc5a3e82
jme: PHY configuration for compatible issue

To perform PHY calibration and set a different EA value by chip ID,
Whenever the NIC chip power on, ie booting or resuming, we need to
force HW to calibrate PHY parameter again, and also set a proper EA
value which gather from experiment.

Those procedures help to reduce compatible issues(NIC is unable to link
up in some special case) in giga speed.

Signed-off-by: AriesLee <AriesLee@jmicron.com>
Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/jme.c
drivers/net/ethernet/jme.h