[LEDE-DEV] [PATCH] brcm63xx: fix internal phy registers

Florian Fainelli f.fainelli at gmail.com
Sat Dec 17 18:50:06 PST 2016


Le 12/17/16 à 17:19, Daniel Gonzalez Cabanelas a écrit :
> The internal phy is using wrong registers for the config interrupt function,
> causing incorrect behavior when detecting the link activity. Fix it.
> 
> We cannot use the bcm_phy_config_intr function from the bcm-phy-lib.c 
> because it uses different registers from brcm63xx. We need to use
> our own function, which matches with the one used by the 
> "Broadcom PHY driver" (brcm_fet_config_intr at broadcom.c). 
> 
> brcm63xx internal phy uses the same registers as the ones defined in 
> brcmphy.h for fast ethernet, use them instead. 

Humm how did you find out? Not saying this is wrong, but since these
defines were added to the driver, it sounds like they would have been
correct.
-- 
Florian



More information about the Lede-dev mailing list