author | Jose Abreu <jose.abreu@synopsys.com> | |
Wed, 30 Jan 2019 14:54:19 +0000 (15:54 +0100) | ||
committer | David S. Miller <davem@davemloft.net> | |
Thu, 31 Jan 2019 06:24:49 +0000 (22:24 -0800) | ||
commit | 4ec5302fa906ec9d86597b236f62315bacdb9622 | |
tree | 1949fe25fb0a4bb6df08453070fd23c632608547 | tree | snapshot (tar.xz tar.gz zip) |
parent | d5256083f62e2720f75bb3c5a928a0afe47d6bc3 | commit | diff |
net: stmmac: Fallback to Platform Data clock in Watchdog conversion
If we don't have DT then stmmac_clk will not be available. Let's add a
new Platform Data field so that we can specify the refclk by this mean.
This way we can still use the coalesce command in PCI based setups.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
If we don't have DT then stmmac_clk will not be available. Let's add a
new Platform Data field so that we can specify the refclk by this mean.
This way we can still use the coalesce command in PCI based setups.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | diff | blob | history | |
include/linux/stmmac.h | diff | blob | history |