Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1381
b: refs/heads/master
c: 5e3c30d
h: refs/heads/master
i:
  1379: 62664af
v: v3
  • Loading branch information
Malli Chilakala authored and Jeff Garzik committed May 13, 2005
1 parent 4428f43 commit 37349c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: abf481d6af8670c89f33f354c6fbd9977b23cebc
refs/heads/master: 5e3c30deb21d0eb0da44830fb1c1fc7054e54229
4 changes: 3 additions & 1 deletion trunk/drivers/net/ixgb/ixgb_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ ixgb_get_regs(struct net_device *netdev,
uint32_t *reg_start = reg;
uint8_t i;

regs->version = (adapter->hw.device_id << 16) | adapter->hw.subsystem_id;
/* the 1 (one) below indicates an attempt at versioning, if the
* interface in ethtool or the driver this 1 should be incremented */
regs->version = (1<<24) | hw->revision_id << 16 | hw->device_id;

/* General Registers */
*reg++ = IXGB_READ_REG(hw, CTRL0); /* 0 */
Expand Down

0 comments on commit 37349c7

Please sign in to comment.