Skip to content
Commit 4f40bf46 authored by akeemting's avatar akeemting Committed by David S. Miller
Browse files

jme: GHC register control fix for new hardware



Due to the hardware design, except the first chip on the market,
other chips needs to setup the clock source for MAC processor
implicitly through Global Host Control Register(GHC).
(Strange design huh?)

10/100M uses the PCI-E as clock source, and 1G uses GPHY.

And I reordered the code a little, to make it easier to read.

Found-by: default avatar"Ethan" <ethanhsiao@jmicron.com>
Fixed-by: default avatar"akeemting" <akeem@jmicron.com>
Signed-off-by: default avatar"Guo-Fu Tseng" <cooldavid@cooldavid.org>
Acked-by: default avatarJeff Garzik <jgarzik@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 59e4220a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment