]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sky2: netpoll on dual port cards
authorStephen Hemminger <shemminger@osdl.org>
Wed, 18 Oct 2006 20:39:28 +0000 (13:39 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 1 Nov 2006 01:22:06 +0000 (20:22 -0500)
commitbe66fc1a78051c0d800212063e52e50065251fd0
treedf6a9dc9ad39e7aa45abbcc7f6cb7db781c7f69b
parenta0f9637eaba1de8fbefd0a3aea04b1ed7e97df00
[PATCH] sky2: netpoll on dual port cards

The sky2 driver uses a single NAPI poll routine for both ports on dual ported
cards (because there is a single IRQ and status ring). Netpoll makes assumptions
about the relationship between network device and NAPI that aren't correct
on the second port, this will cause the port to never clear work.

Most systems, just have single port, so not a big issue.
The easy fix is just make the second port, not netpoll capable.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c