Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103237
b: refs/heads/master
c: 5c3cad7
h: refs/heads/master
i:
  103235: 5f643d9
v: v3
  • Loading branch information
Jeff Kirsher authored and Jeff Garzik committed Jul 4, 2008
1 parent c493734 commit abacc79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 532f4aee934cf26f1905fae101ac9f0ba3087f21
refs/heads/master: 5c3cad754cba4252f5b4e74fb217e3bdd0c03662
4 changes: 4 additions & 0 deletions trunk/drivers/net/igb/e1000_82575.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ static s32 igb_get_invariants_82575(struct e1000_hw *hw)
* for setting word_size.
*/
size += NVM_WORD_SIZE_BASE_SHIFT;

/* EEPROM access above 16k is unsupported */
if (size > 14)
size = 14;
nvm->word_size = 1 << size;

/* setup PHY parameters */
Expand Down

0 comments on commit abacc79

Please sign in to comment.