]> err.no Git - linux-2.6/commit
pcnet32: fix non-napi packet reception
authorDon Fry <pcnet32@verizon.net>
Wed, 17 Oct 2007 22:59:22 +0000 (15:59 -0700)
committerJeff Garzik <jeff@garzik.org>
Thu, 18 Oct 2007 00:17:34 +0000 (20:17 -0400)
commitfeff348fc0fe06870a8ec05e78af8ed5cc4c2bdf
tree0d83851e81f8edeb70812a2ba3654f830b149dcf
parente30d42273bfa907dc06920c53fa3f303783e1e97
pcnet32: fix non-napi packet reception

Recent changes to the driver for the new napi API broke the reception
of packets when in non-napi mode.  The initialization of napi.weight
was removed for the non-napi case leaving the value zero.

Tested NAPI and non-NAPI on x86_64.

Signed-off-by: Don Fry <pcnet32@verizon.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pcnet32.c