]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rapidio/tsi721: fix bug in register offset definitions
authorAlexandre Bounine <alexandre.bounine@idt.com>
Thu, 15 Mar 2012 22:17:09 +0000 (15:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Mar 2012 16:02:35 +0000 (09:02 -0700)
commitaefb9269d572052d401c830eab28204d82731759
treeca15b22db9b2b0ebc4e7a1b33831436820eb58f1
parent930f256e16d41295be3a6e0880fa32e2f0f763dc
rapidio/tsi721: fix bug in register offset definitions

commit 9bbad7da76b3dd578fb55c862624366a8c9ccd22 upstream.

Fix indexed register offset definitions that use decimal (wrong) instead
of hexadecimal (correct) notation for indexing multipliers.

Incorrect definitions do not affect Tsi721 driver in its current default
configuration because it uses only IDB queue 0.  Loss of inbound
doorbell functionality should be observed if queue other than 0 is used.

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Chul Kim <chul.kim@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/rapidio/devices/tsi721.h