Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90853
b: refs/heads/master
c: 81971be
h: refs/heads/master
i:
  90851: 8954ae0
v: v3
  • Loading branch information
Ishizaki Kou authored and Jeff Garzik committed Apr 17, 2008
1 parent f7c81b4 commit 2d6c437
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: 7f225b427be7d3f2940fdebf5d79f753f38d3083
refs/heads/master: 81971bef4c4fce8571b7a31c09f94ee90eb738ec
4 changes: 4 additions & 0 deletions trunk/drivers/net/spider_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,8 @@ spider_net_link_reset(struct net_device *netdev)
spider_net_write_reg(card, SPIDER_NET_GMACINTEN, 0);

/* reset phy and setup aneg */
card->aneg_count = 0;
card->medium = BCM54XX_COPPER;
spider_net_setup_aneg(card);
mod_timer(&card->aneg_timer, jiffies + SPIDER_NET_ANEG_TIMER);

Expand Down Expand Up @@ -1982,6 +1984,8 @@ spider_net_open(struct net_device *netdev)
goto init_firmware_failed;

/* start probing with copper */
card->aneg_count = 0;
card->medium = BCM54XX_COPPER;
spider_net_setup_aneg(card);
if (card->phy.def->phy_id)
mod_timer(&card->aneg_timer, jiffies + SPIDER_NET_ANEG_TIMER);
Expand Down

0 comments on commit 2d6c437

Please sign in to comment.