]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: Fix missing Wake-on-LAN interrupt for SYSTEMPORT Lite
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 2 Jun 2017 01:02:39 +0000 (18:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2017 14:25:56 +0000 (10:25 -0400)
commit2bcca2d8378ab4cb43f7bac635a71a42347e05e3
tree17c367ad674605a946c4482537dbfcd0b3abd238
parentb10bdc176dd76324dd8e6c9c2b328bc7ce7b3f52
net: systemport: Fix missing Wake-on-LAN interrupt for SYSTEMPORT Lite

On SYSTEMPORT Lite, since we have the main interrupt source in the first
cell, the second cell is the Wake-on-LAN interrupt, yet the code was not
properly updated to fetch the second cell, and instead looked at the
third and non-existing cell for Wake-on-LAN.

Fixes: d88d62a31a46 ("net: systemport: Add support for SYSTEMPORT Lite")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c