diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-07-10 11:00:01 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-14 05:57:14 +0200 |
commit | 9d0c0d5ebd635f914ab2ab691b68e8754fbe0a57 (patch) | |
tree | ecbf9e8e1c2fc84a90f8e6b3b3f4e632f1255d94 /include | |
parent | net: stmmac: replace the rx_clk_runs_in_lpi field with a flag (diff) | |
download | linux-9d0c0d5ebd635f914ab2ab691b68e8754fbe0a57.tar.xz linux-9d0c0d5ebd635f914ab2ab691b68e8754fbe0a57.zip |
net: stmmac: replace the en_tx_lpi_clockgating field with a flag
Drop the boolean field of the plat_stmmacenet_data structure in favor of a
simple bitfield flag.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20230710090001.303225-13-brgl@bgdev.pl
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/stmmac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index c3769dad8238..ef67dba775d0 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -215,6 +215,7 @@ struct dwmac4_addrs { #define STMMAC_FLAG_EXT_SNAPSHOT_EN BIT(8) #define STMMAC_FLAG_INT_SNAPSHOT_EN BIT(9) #define STMMAC_FLAG_RX_CLK_RUNS_IN_LPI BIT(10) +#define STMMAC_FLAG_EN_TX_LPI_CLOCKGATING BIT(11) struct plat_stmmacenet_data { int bus_id; @@ -280,7 +281,6 @@ struct plat_stmmacenet_data { int has_gmac4; int rss_en; int mac_port_sel_speed; - bool en_tx_lpi_clockgating; int has_xgmac; u8 vlan_fail_q; unsigned int eee_usecs_rate; |