arch/arm/src/lpc17xx_40xx/lpc17_40_ethernet.c: Set speed back to 10Mbps if 10Mmbps link negotiated.
This commit is contained in:
parent
361d85ae35
commit
e0bd90d8a3
@ -2794,6 +2794,7 @@ static inline int lpc17_40_phyinit(struct lpc17_40_driver_s *priv)
|
|||||||
|
|
||||||
case 0x0002:
|
case 0x0002:
|
||||||
priv->lp_mode = LPC17_40_10BASET_HD;
|
priv->lp_mode = LPC17_40_10BASET_HD;
|
||||||
|
lpc17_40_putreg(0, LPC17_40_ETH_SUPP);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x0004:
|
case 0x0004:
|
||||||
@ -2802,6 +2803,7 @@ static inline int lpc17_40_phyinit(struct lpc17_40_driver_s *priv)
|
|||||||
|
|
||||||
case 0x0006:
|
case 0x0006:
|
||||||
priv->lp_mode = LPC17_40_10BASET_FD;
|
priv->lp_mode = LPC17_40_10BASET_FD;
|
||||||
|
lpc17_40_putreg(0, LPC17_40_ETH_SUPP);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user