aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/dwmac4.h
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@axis.com>2018-02-09 17:22:45 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-09 14:23:04 -0500
commit1b84ca187510f60f00f4e15255043ce19bb30410 (patch)
treef59b834d18e15e91ca89f56728389e00a4af8fa5 /drivers/net/ethernet/stmicro/stmmac/dwmac4.h
parentibmvnic: Reset long term map ID counter (diff)
downloadlinux-dev-1b84ca187510f60f00f4e15255043ce19bb30410.tar.xz
linux-dev-1b84ca187510f60f00f4e15255043ce19bb30410.zip
net: stmmac: discard disabled flags in interrupt status register
The interrupt status register in both dwmac1000 and dwmac4 ignores interrupt enable (for dwmac4) / interrupt mask (for dwmac1000). Therefore, if we want to check only the bits that can actually trigger an irq, we have to filter the interrupt status register manually. Commit 0a764db10337 ("stmmac: Discard masked flags in interrupt status register") fixed this for dwmac1000. Fix the same issue for dwmac4. Just like commit 0a764db10337 ("stmmac: Discard masked flags in interrupt status register"), this makes sure that we do not get spurious link up/link down prints. Signed-off-by: Niklas Cassel <niklas.cassel@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac4.h')
0 files changed, 0 insertions, 0 deletions