]> git.baikalelectronics.ru Git - kernel.git/commit
net: fsl: fec: handle 10Mbps speed in RMII mode
authorEric Benard <eric@eukrea.com>
Thu, 12 Jan 2012 06:10:28 +0000 (06:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jan 2012 04:05:28 +0000 (20:05 -0800)
commit7d799892e4090a52992311488c1583f9d5b1d42a
tree32bda05590b8799574c89d2f3bdc22ea47973cb5
parent61b52f0b97dc277736af687c87884e73a75869fa
net: fsl: fec: handle 10Mbps speed in RMII mode

when the link is 10 Mbps and the mode is RMII, it's necessary
to set FRCONT to 1 in MIIGSK_CFGR to divide the RMII source
clock by 10 in order to support 10 Mbps operations.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c
drivers/net/ethernet/freescale/fec.h