]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitd31353cd753c443ace5723d6878a39f393a0c136
tree17c367ad674605a946c4482537dbfcd0b3abd238
parent58a6960663a112b97ccfcf0814b489f8ac0cdf9a
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: 44a4524c54af ("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