Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135361
b: refs/heads/master
c: 0e34048
h: refs/heads/master
i:
  135359: 994a6ee
v: v3
  • Loading branch information
Alexander Duyck authored and David S. Miller committed Mar 21, 2009
1 parent 5e83a99 commit a6f6bf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 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: c493ea45a4251869fe7b820e0486b73b57df7c12
refs/heads/master: 0e340485725ea35ca4e354cce5df09e86e31e20d
11 changes: 4 additions & 7 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1312,13 +1312,10 @@ static int __devinit igb_probe(struct pci_dev *pdev,
goto err_eeprom;
}

init_timer(&adapter->watchdog_timer);
adapter->watchdog_timer.function = &igb_watchdog;
adapter->watchdog_timer.data = (unsigned long) adapter;

init_timer(&adapter->phy_info_timer);
adapter->phy_info_timer.function = &igb_update_phy_info;
adapter->phy_info_timer.data = (unsigned long) adapter;
setup_timer(&adapter->watchdog_timer, &igb_watchdog,
(unsigned long) adapter);
setup_timer(&adapter->phy_info_timer, &igb_update_phy_info,
(unsigned long) adapter);

INIT_WORK(&adapter->reset_task, igb_reset_task);
INIT_WORK(&adapter->watchdog_task, igb_watchdog_task);
Expand Down

0 comments on commit a6f6bf1

Please sign in to comment.