diff options
author | Mark Starovoytov <mstarovoitov@marvell.com> | 2020-05-09 09:46:57 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-05-09 11:47:25 -0700 |
commit | c64d7b23f51161ceb6e92f8e5b8077e8e04ddbef (patch) | |
tree | b4e0ae8c25adcd5d402fd62c341be9aba5e971b0 /drivers/net/ethernet/aquantia/atlantic | |
parent | 843e1396f62ed7ff57feaea9ceb3374ad42f445f (diff) | |
download | linux-stable-c64d7b23f51161ceb6e92f8e5b8077e8e04ddbef.tar.gz linux-stable-c64d7b23f51161ceb6e92f8e5b8077e8e04ddbef.tar.bz2 linux-stable-c64d7b23f51161ceb6e92f8e5b8077e8e04ddbef.zip |
net: atlantic: remove TPO2 check from A0 code
TPO2 was introduced in B0 only, no reason to check for it in A0 code.
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic')
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c index 70f06c40bdf2..1b0670a8ae33 100644 --- a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c +++ b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c @@ -268,8 +268,7 @@ static int hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self) hw_atl_tdm_tx_desc_wr_wb_irq_en_set(self, 1U); /* misc */ - aq_hw_write_reg(self, 0x00007040U, ATL_HW_IS_CHIP_FEATURE(self, TPO2) ? - 0x00010000U : 0x00000000U); + aq_hw_write_reg(self, 0x00007040U, 0x00000000U); hw_atl_tdm_tx_dca_en_set(self, 0U); hw_atl_tdm_tx_dca_mode_set(self, 0U); |