Skip to content

Commit 9660ef2

Browse files
aneftinanguy11
authored andcommitted
igc: Fix TDBAL register show incorrect value
Fixed a typo which caused the registers dump function to read the RDBAL register when printing TDBAL register values. _reg_dump method has been partially derived from i210 and have same typo. Suggested-by: Gal Hammer <[email protected]> Signed-off-by: Sasha Neftin <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent 4917fc8 commit 9660ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/intel/igc/igc_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static void igc_regdump(struct igc_hw *hw, struct igc_reg_info *reginfo)
7575
break;
7676
case IGC_TDBAL(0):
7777
for (n = 0; n < 4; n++)
78-
regs[n] = rd32(IGC_RDBAL(n));
78+
regs[n] = rd32(IGC_TDBAL(n));
7979
break;
8080
case IGC_TDBAH(0):
8181
for (n = 0; n < 4; n++)

0 commit comments

Comments
 (0)