]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2: fix poll_controller to pass proper structures and check all rx queues
authorNeil Horman <nhorman@tuxdriver.com>
Thu, 13 Nov 2008 00:23:44 +0000 (16:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2008 00:23:44 +0000 (16:23 -0800)
commit27d56650c22b899270ebfc2d5c1223f4f68dcb95
tree56a9dfa1d01846dc8133823f41d8fa78db35eb7e
parent669ba09f76e978ce0d51b7e110a1bc5c9572dae8
bnx2: fix poll_controller to pass proper structures and check all rx queues

Fix bnx2 so that netpoll works properly.  Specifically:

1) Fix parameters to bnx2_interrupt to be a struct bnx2_napi rather than a
struct net_device

2) Fix poll_controller method to check every queue in the rx case so frames
aren't missed

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c