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)
commitc4860ba2e11261a541632ceee8267ca490d9eb98
treefc18d6bd235fed7c22153961dedec01b56662fd3
parentde68dca1816660b0d3ac89fa59ffb410007a143f
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