Skip to content

Commit 1ec37e5

Browse files
Justin Laigregkh
authored andcommitted
rtase: Fix Rx descriptor CRC error bit definition
[ Upstream commit 065c31f ] The CRC error bit is located at bit 17 in the Rx descriptor, but the driver was incorrectly using bit 16. Fix it. Fixes: a36e9f5 ("rtase: Add support for a pci table in this module") Signed-off-by: Justin Lai <justinlai0215@realtek.com> Link: https://patch.msgid.link/20250813071631.7566-1-justinlai0215@realtek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent a225f44 commit 1ec37e5

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/realtek/rtase

1 file changed

+1
-1
lines changed

drivers/net/ethernet/realtek/rtase/rtase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ union rtase_rx_desc {
241241
#define RTASE_RX_RES BIT(20)
242242
#define RTASE_RX_RUNT BIT(19)
243243
#define RTASE_RX_RWT BIT(18)
244-
#define RTASE_RX_CRC BIT(16)
244+
#define RTASE_RX_CRC BIT(17)
245245
#define RTASE_RX_V6F BIT(31)
246246
#define RTASE_RX_V4F BIT(30)
247247
#define RTASE_RX_UDPT BIT(29)

0 commit comments

Comments
 (0)