diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2018-11-06 23:58:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-07 02:05:22 +0300 |
commit | 80f8dea8767ef8fe357f1529fae0e6d8452b5fd2 (patch) | |
tree | bb2e51336334c719836f0f9c3851a68517ad2205 /drivers/net/ethernet/broadcom/bcmsysport.h | |
parent | 1c60c7f9001140e4a3bfae4b1cdcead6b075aecf (diff) | |
download | linux-80f8dea8767ef8fe357f1529fae0e6d8452b5fd2.tar.xz |
net: systemport: Restore Broadcom tag match filters upon resume
Some of the system suspend states that we support wipe out entirely the
HW contents. If we had a Wake-on-LAN filter programmed prior to going
into suspend, but we did not actually wake-up from Wake-on-LAN and
instead used a deeper suspend state, make sure we restore the CID number
that we need to match against.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bcmsysport.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bcmsysport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bcmsysport.h b/drivers/net/ethernet/broadcom/bcmsysport.h index a7a230884a87..7a0b7bfedd19 100644 --- a/drivers/net/ethernet/broadcom/bcmsysport.h +++ b/drivers/net/ethernet/broadcom/bcmsysport.h @@ -786,6 +786,7 @@ struct bcm_sysport_priv { /* Ethtool */ u32 msg_enable; DECLARE_BITMAP(filters, RXCHK_BRCM_TAG_MAX); + u32 filters_loc[RXCHK_BRCM_TAG_MAX]; struct bcm_sysport_stats64 stats64; |