Staging: et131x: Fix 2.6.33rc1 regression in et131x
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 6 Jan 2010 14:01:26 +0000 (14:01 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Jan 2010 23:05:26 +0000 (15:05 -0800)
et131x: Fix 12bit wrapping

From: Alan Cox <alan@linux.intel.com>

The 12bit wrap logic conversion is wrong and this shows up for some
memory sizes and layouts of card. Patch it up for now, once the kernel
view of status is cleaned up it'll become two variables and a lot saner.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found