net: macb: Adjust tx_clk when link speed changes
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Wed, 11 Dec 2013 00:07:23 +0000 (16:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:56:23 +0000 (22:56 -0500)
commite1824dfe0d8e6bae55859eb016ce21b61d1b8c85
tree68977e7fae1bdb561770f5ae0590951fda62e72c
parent0a4acf08ea62d8c8a7ed394bb075f0e1f10ac021
net: macb: Adjust tx_clk when link speed changes

Adjust the ethernet clock according to the negotiated link speed.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h