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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Mar 2012 00:03:03 +0000 (17:03 -0700)
commit9bbad7da76b3dd578fb55c862624366a8c9ccd22
treee321770193c8f6ac6ffc44a66ce3eaebe73e0a39
parentfbfa0748d817e98ea28b048c04a1d0341d70127a
rapidio/tsi721: fix bug in register offset definitions

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>
Cc: <stable@vger.kernel.org> [3.2+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rapidio/devices/tsi721.h