cpmac: convert to napi_struct interface

Convert cpmac to new napi_struct API introduced by
bea3348eef [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>
This commit is contained in:
Eugene Konev 2007-10-24 10:42:02 +08:00 committed by Jeff Garzik
commit 67d129d14d