]> git.baikalelectronics.ru Git - kernel.git/commit
rapidio: fix maximum port number in tsi57x EM initialization
authorAlexandre Bounine <alexandre.bounine@idt.com>
Wed, 27 Oct 2010 22:34:35 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:16 +0000 (18:03 -0700)
commitec09ec11b43178d2108ed98f0c297d8349dd8035
tree2e520a2c5697e5afd5d1d09e2562c8826e96f6a2
parent614d4a15cfa0e8dce586ac2eede0469b9fd89662
rapidio: fix maximum port number in tsi57x EM initialization

Replace hardcoded maximum port number with actual reported number of
switch ports.

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Li Yang <leoli@freescale.com>
Cc: Thomas Moll <thomas.moll@sysgo.com>
Cc: Micha Nelissen <micha@neli.hopto.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rapidio/switches/tsi57x.c