[PATCH] sky2: limit coalescing values to ring size
authorStephen Hemminger <shemminger@osdl.org>
Wed, 22 Feb 2006 19:44:59 +0000 (11:44 -0800)
committerFrancois Romieu <romieu@fr.zoreil.com>
Thu, 23 Feb 2006 00:23:40 +0000 (01:23 +0100)
commitff81fbbe321c3a468b6225c673ca57efa501fbed
treeae715c27debaee2ef0bc1f36faccc7ef8bac2b09
parent977bdf06ca8dd7ed081fab8d30249d9e6b1c24d3
[PATCH] sky2: limit coalescing values to ring size

Don't allow coalescing values to be bigger than the transmit ring.
Since if you set them that big, the interrupt never happens and driver
livelocks.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
drivers/net/sky2.c