]> 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)
commitfe7c8c2767513c9d415cf5b9aba1f4aad770779b
tree17c367ad674605a946c4482537dbfcd0b3abd238
parent007b3f0aec9b9bc195788b07dec62ed2064e1082
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: d20bd5ee8733 ("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