diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2013-12-11 01:07:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-11 04:56:23 +0100 |
commit | e1824dfe0d8e6bae55859eb016ce21b61d1b8c85 (patch) | |
tree | 68977e7fae1bdb561770f5ae0590951fda62e72c /drivers/net/ethernet/cadence/macb.h | |
parent | net: macb: Use devm_request_irq() (diff) | |
download | linux-e1824dfe0d8e6bae55859eb016ce21b61d1b8c85.tar.xz 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; |