Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8978
b: refs/heads/master
c: 53abbf7
h: refs/heads/master
v: v3
  • Loading branch information
Jens Osterkamp authored and Jeff Garzik committed Sep 16, 2005
1 parent a34cf11 commit 7b3b882
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: 8b51292764a0ed46d7eb6bead4625ba83ee2ec05
refs/heads/master: 53abbf7eeab22620586cbba272e569fd3e729b0b
4 changes: 4 additions & 0 deletions trunk/drivers/net/spider_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1817,6 +1817,10 @@ spider_net_setup_phy(struct spider_net_card *card)
/* LEDs active in both modes, autosense prio = fiber */
spider_net_write_phy(card->netdev, 1, MII_NCONFIG, 0x945f);

/* switch off fibre autoneg */
spider_net_write_phy(card->netdev, 1, MII_NCONFIG, 0xfc01);
spider_net_write_phy(card->netdev, 1, 0x0b, 0x0004);

phy->def->ops->read_link(phy);
pr_info("Found %s with %i Mbps, %s-duplex.\n", phy->def->name,
phy->speed, phy->duplex==1 ? "Full" : "Half");
Expand Down

0 comments on commit 7b3b882

Please sign in to comment.