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)
commitd31a2ff03f31cbecb92bdc5b1ab9d62fb70971d7
treec77b41d5661978dcecbeea057458e8af86081dba
parent20633bf0141c5e93e3396770d5eb7d200ee4068a
Staging: et131x: Fix 2.6.33rc1 regression in et131x

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>
drivers/staging/et131x/et1310_address_map.h
drivers/staging/et131x/et1310_rx.c