diff options
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r-- | drivers/net/spider_net.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index b36838bfb8dc..394339d5e87c 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c | |||
@@ -1794,15 +1794,7 @@ spider_net_setup_phy(struct spider_net_card *card) | |||
1794 | if (phy->def->ops->setup_forced) | 1794 | if (phy->def->ops->setup_forced) |
1795 | phy->def->ops->setup_forced(phy, SPEED_1000, DUPLEX_FULL); | 1795 | phy->def->ops->setup_forced(phy, SPEED_1000, DUPLEX_FULL); |
1796 | 1796 | ||
1797 | /* the following two writes could be moved to sungem_phy.c */ | 1797 | phy->def->ops->enable_fiber(phy); |
1798 | /* enable fiber mode */ | ||
1799 | spider_net_write_phy(card->netdev, 1, MII_NCONFIG, 0x9020); | ||
1800 | /* LEDs active in both modes, autosense prio = fiber */ | ||
1801 | spider_net_write_phy(card->netdev, 1, MII_NCONFIG, 0x945f); | ||
1802 | |||
1803 | /* switch off fibre autoneg */ | ||
1804 | spider_net_write_phy(card->netdev, 1, MII_NCONFIG, 0xfc01); | ||
1805 | spider_net_write_phy(card->netdev, 1, 0x0b, 0x0004); | ||
1806 | 1798 | ||
1807 | phy->def->ops->read_link(phy); | 1799 | phy->def->ops->read_link(phy); |
1808 | pr_info("Found %s with %i Mbps, %s-duplex.\n", phy->def->name, | 1800 | pr_info("Found %s with %i Mbps, %s-duplex.\n", phy->def->name, |