]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: cpsw: don't requests IRQs we don't use
authorFelipe Balbi <balbi@ti.com>
Fri, 16 Jan 2015 16:11:12 +0000 (10:11 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jan 2015 06:07:29 +0000 (01:07 -0500)
commitc7f7e8631e3afdb412b7ee840403444ed12369c6
treeddf7a79d35cf2db1dda075f90a5ab1a62cda284a
parent79ad07d1c4b1372eab633b68cea0abcf4714630c
net: ethernet: cpsw: don't requests IRQs we don't use

CPSW never uses RX_THRESHOLD or MISC interrupts. In
fact, they are always kept masked in their appropriate
IRQ Enable register.

Instead of allocating an IRQ that never fires, it's best
to remove that code altogether and let future patches
implement it if anybody needs those.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c