]> git.baikalelectronics.ru Git - kernel.git/commit
rapidio: fix default routing initialization
authorAlexandre Bounine <alexandre.bounine@idt.com>
Tue, 17 May 2011 22:44:08 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 May 2011 09:55:22 +0000 (02:55 -0700)
commit529bf3aeb9dc9b540819a817aa0dab35bb8b3655
tree03e3ef8e7c55c86e428cbe9cb72af3b95c77035b
parent2d8a13fe8f2b4bb13efb2bcb0187f8e59551f7c4
rapidio: fix default routing initialization

Fix switch initialization to ensure that all switches have default routing
disabled.  This guarantees that no unexpected RapidIO packets arrive to
the default port set by reset and there is no default routing destination
until it is properly configured by software.

This update also unifies handling of unmapped destinations by tsi57x, IDT
Gen1 and IDT Gen2 switches.

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: <stable@kernel.org> [2.6.37+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rapidio/switches/idt_gen2.c
drivers/rapidio/switches/idtcps.c
drivers/rapidio/switches/tsi57x.c