]> git.baikalelectronics.ru Git - kernel.git/commit
bgmac: activate irqs only if there is nothing to poll
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 18 Jan 2015 18:49:59 +0000 (19:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jan 2015 20:59:57 +0000 (15:59 -0500)
commit0a57d357f971cc4a41ad17e2f4a579f2ebc30231
treebac451207657fa0c6cbbbcd81e2752304d5d39af
parent1b8a2b0cefe599db5cde4b56079eb21edb8f2f16
bgmac: activate irqs only if there is nothing to poll

IRQs should only get activated when there is nothing to poll in the
queue any more and to after every poll.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c