aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sungem_phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sungem_phy.c')
-rw-r--r--drivers/net/sungem_phy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/sungem_phy.c b/drivers/net/sungem_phy.c
index 58f13adaa549..ae7cd7f3656d 100644
--- a/drivers/net/sungem_phy.c
+++ b/drivers/net/sungem_phy.c
@@ -608,7 +608,7 @@ static int bcm5421_poll_link(struct mii_phy* phy)
608 if ( mode == BCM54XX_COPPER) 608 if ( mode == BCM54XX_COPPER)
609 return genmii_poll_link(phy); 609 return genmii_poll_link(phy);
610 610
611 /* try to find out wether we have a link */ 611 /* try to find out whether we have a link */
612 phy_write(phy, MII_NCONFIG, 0x2000); 612 phy_write(phy, MII_NCONFIG, 0x2000);
613 phy_reg = phy_read(phy, MII_NCONFIG); 613 phy_reg = phy_read(phy, MII_NCONFIG);
614 614
@@ -634,7 +634,7 @@ static int bcm5421_read_link(struct mii_phy* phy)
634 634
635 phy->speed = SPEED_1000; 635 phy->speed = SPEED_1000;
636 636
637 /* find out wether we are running half- or full duplex */ 637 /* find out whether we are running half- or full duplex */
638 phy_write(phy, MII_NCONFIG, 0x2000); 638 phy_write(phy, MII_NCONFIG, 0x2000);
639 phy_reg = phy_read(phy, MII_NCONFIG); 639 phy_reg = phy_read(phy, MII_NCONFIG);
640 640
@@ -681,7 +681,7 @@ static int bcm5461_poll_link(struct mii_phy* phy)
681 if ( mode == BCM54XX_COPPER) 681 if ( mode == BCM54XX_COPPER)
682 return genmii_poll_link(phy); 682 return genmii_poll_link(phy);
683 683
684 /* find out wether we have a link */ 684 /* find out whether we have a link */
685 phy_write(phy, MII_NCONFIG, 0x7000); 685 phy_write(phy, MII_NCONFIG, 0x7000);
686 phy_reg = phy_read(phy, MII_NCONFIG); 686 phy_reg = phy_read(phy, MII_NCONFIG);
687 687
@@ -710,7 +710,7 @@ static int bcm5461_read_link(struct mii_phy* phy)
710 710
711 phy->speed = SPEED_1000; 711 phy->speed = SPEED_1000;
712 712
713 /* find out wether we are running half- or full duplex */ 713 /* find out whether we are running half- or full duplex */
714 phy_write(phy, MII_NCONFIG, 0x7000); 714 phy_write(phy, MII_NCONFIG, 0x7000);
715 phy_reg = phy_read(phy, MII_NCONFIG); 715 phy_reg = phy_read(phy, MII_NCONFIG);
716 716