net: phy: nxp-c45-tja11xx: remove RX BIST frame counters
Remove RX BIST frame counters from the PHY statistics. In production mode, these counters are always read as 0. Signed-off-by: Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20230731091619.77961-3-radu-nicolae.pirea@oss.nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
ac0687e821
commit
643480a1a7
@ -81,9 +81,6 @@
|
||||
#define VEND1_SYMBOL_ERROR_COUNTER 0x8350
|
||||
#define VEND1_LINK_DROP_COUNTER 0x8352
|
||||
#define VEND1_LINK_LOSSES_AND_FAILURES 0x8353
|
||||
#define VEND1_R_GOOD_FRAME_CNT 0xA950
|
||||
#define VEND1_R_BAD_FRAME_CNT 0xA952
|
||||
#define VEND1_R_RXER_FRAME_CNT 0xA954
|
||||
#define VEND1_RX_PREAMBLE_COUNT 0xAFCE
|
||||
#define VEND1_TX_PREAMBLE_COUNT 0xAFCF
|
||||
#define VEND1_RX_IPG_LENGTH 0xAFD0
|
||||
@ -809,12 +806,6 @@ static const struct nxp_c45_phy_stats nxp_c45_hw_stats[] = {
|
||||
VEND1_LINK_LOSSES_AND_FAILURES, 10, GENMASK(15, 10) },
|
||||
{ "phy_link_failure_cnt", MDIO_MMD_VEND1,
|
||||
VEND1_LINK_LOSSES_AND_FAILURES, 0, GENMASK(9, 0) },
|
||||
{ "r_good_frame_cnt", MDIO_MMD_VEND1,
|
||||
VEND1_R_GOOD_FRAME_CNT, 0, GENMASK(15, 0) },
|
||||
{ "r_bad_frame_cnt", MDIO_MMD_VEND1,
|
||||
VEND1_R_BAD_FRAME_CNT, 0, GENMASK(15, 0) },
|
||||
{ "r_rxer_frame_cnt", MDIO_MMD_VEND1,
|
||||
VEND1_R_RXER_FRAME_CNT, 0, GENMASK(15, 0) },
|
||||
{ "rx_preamble_count", MDIO_MMD_VEND1,
|
||||
VEND1_RX_PREAMBLE_COUNT, 0, GENMASK(5, 0) },
|
||||
{ "tx_preamble_count", MDIO_MMD_VEND1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user