jme: PHY configuration for compatible issue
authorAries Lee <arieslee@jmicron.com>
Mon, 21 Nov 2011 10:20:42 +0000 (10:20 +0000)
committerGuo-Fu Tseng <cooldavid@cooldavid.org>
Wed, 22 Feb 2012 18:17:45 +0000 (02:17 +0800)
commit314d65d82991529b3d329471d3c232c0b82b10e2
tree3fd4f8047c742f3476f79c5227918a26d04beb9b
parentf0a10b939bf467d2f62784e3deecae58416bc222
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>
jme.c
jme.h