drivers: net: cpsw: dual_emac: simplify napi usage
authorMugunthan V N <mugunthanvnm@ti.com>
Tue, 4 Aug 2015 10:36:19 +0000 (16:06 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 04:59:27 +0000 (21:59 -0700)
commitd354eb85d61803e07831b68d1985cd9cfe2f8b59
tree658aaaaa7f0599962ea6505074eb98e038e5fdac
parent870915feabdc3af5f0ebb72d1fcf96bff01837b0
drivers: net: cpsw: dual_emac: simplify napi usage

Since interrupt is shared between the two ethernet interface and
in isr only one napi is scheduled at an instance so having two
napis doesn't make any difference. So making napi also as a
common resource for the dual ethernet interfaces.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c