Re: [PATCH net] net: bcmgenet: Fix early link interrupt enabling

2015-10-18 Thread David Miller
From: Florian Fainelli Date: Sat, 17 Oct 2015 14:22:46 -0700 > From: Florian Fainelli > > Link interrupts are enabled in init_umac(), which is too early for us to > process them since we do not yet have a valid PHY device pointer. On > BCM7425 chips for instance, we will crash calling phy_mac_i

[PATCH net] net: bcmgenet: Fix early link interrupt enabling

2015-10-17 Thread Florian Fainelli
From: Florian Fainelli Link interrupts are enabled in init_umac(), which is too early for us to process them since we do not yet have a valid PHY device pointer. On BCM7425 chips for instance, we will crash calling phy_mac_interrupt() because phydev is NULL. Fix this by moving the link interrupt