Skip to content

Commit abb9efc

Browse files
Gal Hammeranguy11
authored andcommitted
igb: 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. Signed-off-by: Gal Hammer <[email protected]> Tested-by: David Switzer <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent 9660ef2 commit abb9efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/intel/igb/igb_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ static void igb_regdump(struct e1000_hw *hw, struct igb_reg_info *reginfo)
316316
break;
317317
case E1000_TDBAL(0):
318318
for (n = 0; n < 4; n++)
319-
regs[n] = rd32(E1000_RDBAL(n));
319+
regs[n] = rd32(E1000_TDBAL(n));
320320
break;
321321
case E1000_TDBAH(0):
322322
for (n = 0; n < 4; n++)

0 commit comments

Comments
 (0)