summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerhard Engleder <gerhard@engleder-embedded.com>2022-08-17 21:30:13 +0200
committerDavid S. Miller <davem@davemloft.net>2022-08-22 14:56:37 +0200
commit7d8dd6b5cd1d67dd96c132f91d7ad29c49ed3c59 (patch)
treec952e06c4eadc7c40b7f83fda2e1fcd40966a4ca
parentopenvswitch: Fix overreporting of drops in dropwatch (diff)
downloadlinux-7d8dd6b5cd1d67dd96c132f91d7ad29c49ed3c59.tar.xz
linux-7d8dd6b5cd1d67dd96c132f91d7ad29c49ed3c59.zip
tsnep: Fix TSNEP_INFO_TX_TIME register define
Fixed register define is not used, but register definition shall be kept in sync. Fixes: 403f69bbdbad ("tsnep: Add TSN endpoint Ethernet MAC driver") Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/engleder/tsnep_hw.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/engleder/tsnep_hw.h b/drivers/net/ethernet/engleder/tsnep_hw.h
index 916ceac3ada2..e03aaafab559 100644
--- a/drivers/net/ethernet/engleder/tsnep_hw.h
+++ b/drivers/net/ethernet/engleder/tsnep_hw.h
@@ -92,8 +92,7 @@
/* tsnep register */
#define TSNEP_INFO 0x0100
-#define TSNEP_INFO_RX_ASSIGN 0x00010000
-#define TSNEP_INFO_TX_TIME 0x00020000
+#define TSNEP_INFO_TX_TIME 0x00010000
#define TSNEP_CONTROL 0x0108
#define TSNEP_CONTROL_TX_RESET 0x00000001
#define TSNEP_CONTROL_TX_ENABLE 0x00000002