Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74575
b: refs/heads/master
c: 8cfcbe9
h: refs/heads/master
i:
  74573: 8d25ffe
  74571: 50259e1
  74567: 40d3920
  74559: 0912f4b
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Dec 4, 2007
1 parent adffb8d commit 1700f16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 4c537e6371a9510c82eb96fb7e1e66017e0e2053
refs/heads/master: 8cfcbe998aa0459e20bbad61376f81c1715b25d6
6 changes: 2 additions & 4 deletions trunk/drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2906,16 +2906,14 @@ static void sky2_restart(struct work_struct *work)
int i, err;

rtnl_lock();
sky2_write32(hw, B0_IMSK, 0);
sky2_read32(hw, B0_IMSK);
napi_disable(&hw->napi);

for (i = 0; i < hw->ports; i++) {
dev = hw->dev[i];
if (netif_running(dev))
sky2_down(dev);
}

napi_disable(&hw->napi);
sky2_write32(hw, B0_IMSK, 0);
sky2_reset(hw);
sky2_write32(hw, B0_IMSK, Y2_IS_BASE);
napi_enable(&hw->napi);
Expand Down

0 comments on commit 1700f16

Please sign in to comment.