]> err.no Git - linux-2.6/commit
cpmac: convert to napi_struct interface
authorEugene Konev <ejka@imfi.kspu.ru>
Wed, 24 Oct 2007 02:42:02 +0000 (10:42 +0800)
committerJeff Garzik <jeff@garzik.org>
Thu, 25 Oct 2007 07:31:15 +0000 (03:31 -0400)
commit67d129d14da1555bb3eaca754f6f81c02cacbe0e
tree632990a74134cd7709995824e4d0654cf24f01d4
parentdf523b5cd9950485350fb1b7d97d5b8882d94a4e
cpmac: convert to napi_struct interface

Convert cpmac to new napi_struct API introduced by
bea3348eef27e6044b6161fd04c3152215f96411 [NET]: Make NAPI polling independent
of struct net_device objects.
Only disable rx interrupts if napi actually has been scheduled.

Signed-off-by: Eugene Konev <ejka@imfi.kspu.ru>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/cpmac.c