linux_dsm_epyc7002/drivers/rapidio
Alexandre Bounine 558bda6577 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>
2011-01-13 08:03:18 -08:00
..
switches rapidio: use common destid storage for endpoints and switches 2011-01-13 08:03:17 -08:00
Kconfig rapidio: add debug configuration option 2010-05-27 09:12:51 -07:00
Makefile rapidio: add debug configuration option 2010-05-27 09:12:51 -07:00
rio-access.c [RAPIDIO] Add RapidIO multi mport support 2008-04-29 19:40:28 +10:00
rio-driver.c rapidio: fix RapidIO sysfs hierarchy 2010-10-27 18:03:15 -07:00
rio-scan.c rapidio: use Component Tag for unified switch identification 2011-01-13 08:03:18 -08:00
rio-sysfs.c rapidio: integrate rio_switch into rio_dev 2011-01-13 08:03:17 -08:00
rio.c rapidio: add definitions of Component Tag fields 2011-01-13 08:03:18 -08:00
rio.h rapidio: add handling of redundant routes 2010-10-27 18:03:16 -07:00