forcedeth: new backoff implementation
authorAyaz Abdulla <aabdulla@nvidia.com>
Fri, 18 Apr 2008 20:50:43 +0000 (13:50 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 06:08:53 +0000 (02:08 -0400)
commita433686c73bf63242475ef7e611114f43dd06581
tree12758a3ec0d74f0048beac2cbaf292b7c6e6eaca
parent22559c5d7488fe21f5f46117a4d275fc72066aa6
forcedeth: new backoff implementation

This patch adds support for a new backoff algorithm for half duplex supported
in newer hardware.  The old method is will be designated as legacy mode.

Re-seeding random values for the backoff algorithms are performed when a
transmit has failed due to a maximum retry count (1 to 15, where max is
considered the wraparound case of 0).

Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/forcedeth.c