net: bcmgenet: tweak init_umac()
authorPetri Gynther <pgynther@google.com>
Wed, 25 Mar 2015 19:35:12 +0000 (12:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2015 21:26:14 +0000 (14:26 -0700)
commitb2e97eca88f07d1a4dae691ad8d751ba1de15645
tree997ce6dcc5ea2d674e919ec03e403912e04d96d9
parentebbd96fb2861f591df011cd0eac67dd367596cca
net: bcmgenet: tweak init_umac()

Use more meaningful variable names int0_enable and int1_enable when
enabling bcmgenet interrupts.

For Rx default queue interrupts, use:
UMAC_IRQ_RXDMA_BDONE | UMAC_IRQ_RXDMA_PDONE

For Tx default queue interrupts, use:
UMAC_IRQ_TXDMA_BDONE | UMAC_IRQ_TXDMA_PDONE

Signed-off-by: Petri Gynther <pgynther@google.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