bnxt_en: Add basic WoL infrastructure.
authorMichael Chan <michael.chan@broadcom.com>
Tue, 4 Apr 2017 22:14:07 +0000 (18:14 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Apr 2017 13:24:26 +0000 (06:24 -0700)
commitc1ef146a5bd3b286d5c3eb2c9f631b38647c76d3
tree7fa4d5d725414e98116a6e87f0a6e8e3a8d4006f
parent8eb992e876a88de7539b1b9e132dd171d865cd2f
bnxt_en: Add basic WoL infrastructure.

Add code to driver probe function to check if the device is WoL capable
and if Magic packet WoL filter is currently set.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h