net: bcmgenet: manage dma interrupts in napi code
authorDoug Berger <opendmb@gmail.com>
Tue, 14 Mar 2017 00:41:35 +0000 (17:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Mar 2017 04:51:49 +0000 (21:51 -0700)
commit6689da155bdcd17abfe4d3a8b1e245d9ed4b5f2c
treeaa37f614c391f6890f9c6b53c5bf68ed45bd38f6
parent556c2cf4eff18bb7f41056796d2d37b48239278b
net: bcmgenet: manage dma interrupts in napi code

This commit moves DMA interrupt enabling out of init_umac() and adds
the masking of these interrupts to the napi enable and disable code.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c