]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Mar 2012 00:03:03 +0000 (17:03 -0700)
commit3998f54716473b4576a6906d72f332ff433fbe08
treee321770193c8f6ac6ffc44a66ce3eaebe73e0a39
parent2f5c1ccc0f86faa50e323ad449caf30952c478e8
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