summaryrefslogtreecommitdiff
path: root/drivers/rapidio/switches
diff options
context:
space:
mode:
authorAlexandre Bounine <alexandre.bounine@idt.com>2011-01-13 04:00:42 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 19:03:18 +0300
commit558bda65775d740a97efae2b67f1d53da7a7b9a2 (patch)
treecbc24e34fe58b48cbcf3a806a523cade8ab99e59 /drivers/rapidio/switches
parent17e9620563e25e759e677508068305e5d6ce44ff (diff)
downloadlinux-558bda65775d740a97efae2b67f1d53da7a7b9a2.tar.xz
rapidio: use Component Tag for unified switch identification
Change the way how switchid value is set. Local counter variable does not provide unified way to identify switch devices in a system with multiple processors. Using local counter leads to the situation when the same RIO switch has different switch ID for each processor. Replacing local counter with unique portion of the Component Tag provides unified reference to the switch by every processor in the system. 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>
Diffstat (limited to 'drivers/rapidio/switches')
0 files changed, 0 insertions, 0 deletions