]> 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)
commitdee646e78ca65b05951b1f39eedf551c6dc0bf7e
treebac451207657fa0c6cbbbcd81e2752304d5d39af
parentb7f5b564ed97045c7f606fb6ce302d7556247c63
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