diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2013-12-10 16:07:23 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-10 22:56:23 -0500 |
commit | e1824dfe0d8e6bae55859eb016ce21b61d1b8c85 (patch) | |
tree | 68977e7fae1bdb561770f5ae0590951fda62e72c /drivers/net/ethernet/cadence/macb.h | |
parent | 0a4acf08ea62d8c8a7ed394bb075f0e1f10ac021 (diff) | |
download | blackbird-obmc-linux-e1824dfe0d8e6bae55859eb016ce21b61d1b8c85.tar.gz blackbird-obmc-linux-e1824dfe0d8e6bae55859eb016ce21b61d1b8c85.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.h')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h index f4076155bed7..51c02442160a 100644 --- a/drivers/net/ethernet/cadence/macb.h +++ b/drivers/net/ethernet/cadence/macb.h @@ -572,6 +572,7 @@ struct macb { struct platform_device *pdev; struct clk *pclk; struct clk *hclk; + struct clk *tx_clk; struct net_device *dev; struct napi_struct napi; struct work_struct tx_error_task; |