rapidio/tsi721: fix mailbox resource reporting
authorAlexandre Bounine <alexandre.bounine@idt.com>
Thu, 8 Dec 2011 22:34:36 +0000 (14:34 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 9 Dec 2011 15:50:29 +0000 (07:50 -0800)
commitb439e66f04bff6476c5d4bae6a52ab93fbb9a8f4
treea2b90c408ef73b23a4d32175ddb446e56a98b0bc
parentceb96398127f3388cb5815b2ab550196e2be5d68
rapidio/tsi721: fix mailbox resource reporting

Bug fix for Tsi721 RapidIO mport driver: Tsi721 supports four RapidIO
mailboxes (MBOX0 - MBOX3) as defined by RapidIO specification.  Mailbox
resources has to be properly reported to allow use of all available
mailboxes (initial version reports only MBOX0).

This patch is applicable to kernel versions staring from 3.2-rc1.

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rapidio/devices/tsi721.c