]> 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)
commit7ed504b33cf42ca772c54c8b861883947e2d0b23
treeddf7a79d35cf2db1dda075f90a5ab1a62cda284a
parentb690ffba42a0fc84a6b4bd8355d17afb35da2728
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