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 interrupts enabling in
bcmgenet_netif_start(), under a specific function:
bcmgenet_link_intr_enable() and while at it, update the comments
surrounding the code.
Fixes:
|
||
|---|---|---|
| .. | ||
| bcmgenet.c | ||
| bcmgenet.h | ||
| bcmgenet_wol.c | ||
| bcmmii.c | ||
| Makefile | ||