Florian Fainelli
37850e37fc
net: bcmgenet: Fix early link interrupt enabling
...
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: 6cc8e6d4dc ("net: bcmgenet: Delay PHY initialization to bcmgenet_open()")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2015-10-18 23:07:12 -07:00
..
2015-08-24 12:20:58 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-08-25 13:48:59 -07:00
2015-06-23 06:50:35 -07:00
2015-09-09 12:10:15 -07:00
2015-10-05 23:30:51 -07:00
2015-09-24 23:04:53 -07:00
2015-06-23 06:50:35 -07:00
2015-09-21 16:08:20 -07:00
2015-08-12 16:27:40 -07:00
2015-10-18 23:07:12 -07:00
2015-09-29 13:49:53 -07:00
2015-07-31 23:52:20 -07:00
2015-09-09 17:06:00 -07:00
2015-09-17 16:24:51 -07:00
2015-06-23 06:50:35 -07:00
2015-09-01 15:06:22 -07:00
2015-09-08 22:44:42 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-10-13 04:32:45 -07:00
2015-08-23 16:08:54 -07:00
2015-06-23 06:50:35 -07:00
2015-10-13 04:29:55 -07:00
2015-06-23 06:50:35 -07:00
2015-09-26 22:46:45 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-09-28 22:22:50 -07:00
2015-06-29 15:57:50 -07:00
2015-10-07 04:13:50 -07:00
2015-09-24 23:04:53 -07:00
2015-10-15 06:03:06 -07:00
2015-09-17 21:24:02 -07:00
2015-06-23 06:50:35 -07:00
2015-09-21 16:09:02 -07:00
2015-07-01 10:49:25 -07:00
2015-06-23 06:50:35 -07:00
2015-07-09 00:19:00 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-10-05 03:41:12 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-09-17 22:32:16 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-09-26 22:48:32 -07:00
2015-08-30 21:45:01 -07:00
2015-08-27 16:28:35 -07:00
2015-06-23 06:50:35 -07:00
2015-08-28 13:53:47 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-29 12:52:06 -07:00
2015-08-30 21:45:01 -07:00
2015-09-15 15:05:29 -07:00
2015-09-21 16:28:36 -07:00
2015-09-06 19:48:53 -07:00
2015-06-23 06:50:35 -07:00
2015-09-23 14:37:37 -07:00
2015-07-29 15:44:59 +02:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-10-16 00:55:30 -07:00
2015-06-23 06:50:35 -07:00
2015-09-24 23:04:53 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-07-08 16:04:06 -07:00
2015-09-09 14:16:05 -07:00
2015-09-09 17:06:00 -07:00
2015-07-28 23:55:00 -07:00
2015-08-27 21:45:31 -07:00