Commit abb9efc7 authored by Gal Hammer's avatar Gal Hammer Committed by Tony Nguyen

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: default avatarGal Hammer <ghammer@redhat.com>
Tested-by: default avatarDavid Switzer <david.switzer@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 9660ef25
...@@ -316,7 +316,7 @@ static void igb_regdump(struct e1000_hw *hw, struct igb_reg_info *reginfo) ...@@ -316,7 +316,7 @@ static void igb_regdump(struct e1000_hw *hw, struct igb_reg_info *reginfo)
break; break;
case E1000_TDBAL(0): case E1000_TDBAL(0):
for (n = 0; n < 4; n++) for (n = 0; n < 4; n++)
regs[n] = rd32(E1000_RDBAL(n)); regs[n] = rd32(E1000_TDBAL(n));
break; break;
case E1000_TDBAH(0): case E1000_TDBAH(0):
for (n = 0; n < 4; n++) for (n = 0; n < 4; n++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment