-
由 akeemting 提交于
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: N"Ethan" <ethanhsiao@jmicron.com> Fixed-by: N"akeemting" <akeem@jmicron.com> Signed-off-by: N"Guo-Fu Tseng" <cooldavid@cooldavid.org> Acked-by: NJeff Garzik <jgarzik@redhat.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
4f40bf46