Re: [PATCH] net: bcmgenet: Add MDIO_INTR in GENETv2

2016-02-18 Thread Florian Fainelli
Hi Jaedon Le 15/02/2016 19:12, Jaedon Shin a écrit : > > As you said, the part in bcmgenet_irq_task() is a problem. > > The bcmgenet using internal PHY should use phy_mac_interrupt() cause it has > not > PHY_POLL, and it depends on Ethernet MAC ISR. > > UMAC_IRQ_LINK_EVENT(LINK_UP and LINK_DOW

Re: [PATCH] net: bcmgenet: Add MDIO_INTR in GENETv2

2016-02-15 Thread Jaedon Shin
Hi Florian, > On Feb 16, 2016, at 3:18 AM, Florian Fainelli wrote: > > Hi Jaedon, > > On 15/02/2016 00:42, Jaedon Shin wrote: >> The GENETv2 chipsets has MDIO interrupt like the GENETv3+ chipsets. >> >> The previous commit d5c3d84657db ("net: phy: Avoid polling PHY with >> PHY_IGNORE_INTERRUPT

Re: [PATCH] net: bcmgenet: Add MDIO_INTR in GENETv2

2016-02-15 Thread Florian Fainelli
Hi Jaedon, On 15/02/2016 00:42, Jaedon Shin wrote: > The GENETv2 chipsets has MDIO interrupt like the GENETv3+ chipsets. > > The previous commit d5c3d84657db ("net: phy: Avoid polling PHY with > PHY_IGNORE_INTERRUPTS") and commit 49f7a471e4d1 ("net: bcmgenet: Properly > configure PHY to ignore in

[PATCH] net: bcmgenet: Add MDIO_INTR in GENETv2

2016-02-15 Thread Jaedon Shin
The GENETv2 chipsets has MDIO interrupt like the GENETv3+ chipsets. The previous commit d5c3d84657db ("net: phy: Avoid polling PHY with PHY_IGNORE_INTERRUPTS") and commit 49f7a471e4d1 ("net: bcmgenet: Properly configure PHY to ignore interrupt") cause link-down PHY always in some 40nm generation c