Browse Source

ethernet: corrected typo in ethernet/phy_ksz8051mll.c to include setting the speed to 100M in case of 100M Half Duplex

pull/381/head
brabo 10 years ago
committed by Frantisek Burian
parent
commit
2429159203
  1. 2
      lib/ethernet/phy_ksz8051mll.c

2
lib/ethernet/phy_ksz8051mll.c

@ -66,7 +66,7 @@ void phy_autoneg_force(enum phy_status mode)
bst |= PHY_REG_BCR_FD; bst |= PHY_REG_BCR_FD;
} }
if ((mode == LINK_FD_100M) || (mode == LINK_FD_100M)) { if ((mode == LINK_FD_100M) || (mode == LINK_HD_100M)) {
bst |= PHY_REG_BCR_100M; bst |= PHY_REG_BCR_100M;
} }

Loading…
Cancel
Save