]> 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)
commit9f2032ce40bab3354a510845fc74dc3f27acefdc
treee321770193c8f6ac6ffc44a66ce3eaebe73e0a39
parentae07f7ac5ce5ac21e8561b540e74857cbd6776a1
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