From: Alexandre Bounine Date: Thu, 13 Jan 2011 01:00:42 +0000 (-0800) Subject: rapidio: use Component Tag for unified switch identification X-Git-Tag: v2.6.38-rc1~303 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=558bda65775d740a97efae2b67f1d53da7a7b9a2;p=pandora-kernel.git 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 Cc: Kumar Gala Cc: Matt Porter Cc: Li Yang Cc: Thomas Moll Cc: Micha Nelissen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed