[FS#340] brcm63xx: faulty ethernet link detection

LEDE Bugs lede-bugs at lists.infradead.org
Sat Dec 17 13:13:43 PST 2016


The following task has a new comment added:

FS#340 - brcm63xx: faulty ethernet link detection
User who did this - Daniel González Cabanelas (danitool)

----------

  * As commented elsewhere the problem with //eth1// can be solved by patching the file bcm63xx_enet.c     memcpy(bcm_enet_shared_base, p, sizeof(bcm_enet_shared_base));
 
-   if (ephy_reset)
-       gpiod_direction_output(ephy_reset, 0);
-
+   if (ephy_reset){
+       gpiod_direction_output(ephy_reset, 1);
+       msleep(50);
+       gpiod_set_value(ephy_reset, 0);
+   }


  * With //eth0// (internal phy) if I boot with the ethernet cable disconnected, the link remains **down forever** even if plug the the ethernet cable. It seems that the link is only detected when the phy is initialized.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=340#comment1044



More information about the lede-bugs mailing list