]> err.no Git - linux-2.6/commit
[PATCH] natsemi: NAPI and a bugfix
authorMark Brown <broonie@sirena.org.uk>
Thu, 2 Feb 2006 00:00:02 +0000 (00:00 +0000)
committerJeff Garzik <jeff@garzik.org>
Sat, 4 Mar 2006 17:14:56 +0000 (12:14 -0500)
commite72fd96e8ee3ff4dd80757172a4fe49bd92fea9c
tree2b544e905888845f7115c3302156119ac627d340
parentb27a16b7c4738ea16f6f0730caf382a3f57317bb
[PATCH] natsemi: NAPI and a bugfix

As documented in National application note 1287 the RX state machine on
the natsemi chip can lock up under some conditions (mostly related to
heavy load).  When this happens a series of bogus packets are reported
by the chip including some oversized frames prior to the final lockup.

This patch implements the fix from the application note: when an
oversized packet is reported it resets the RX state machine, dropping
any currently pending packets.

Signed-off-by: Mark Brown <broonie@sirena.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/natsemi.c