]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit836f24e6f2720fc5b0e548f171589c3b47f94608
treec77b41d5661978dcecbeea057458e8af86081dba
parentec9ead8a97ac4f81629ba8020bed1fc7af2ba73f
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