1
0
Fork 0
alistair23-linux/drivers/rapidio
Alexandre Bounine a93192a5d2 rapidio: use common destid storage for endpoints and switches
Change code to use one storage location common for switches and endpoints.
This eliminates unnecessary device type checks during basic access
operations.  Logic that assigns destid to RIO devices stays unchanged - as
before, switches use an associated destid because they do not have their
own.

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:17 -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 common destid storage for endpoints and switches 2011-01-13 08:03:17 -08:00
rio-sysfs.c rapidio: modify sysfs initialization for switches 2010-10-27 18:03:15 -07:00
rio.c rapidio: use common destid storage for endpoints and switches 2011-01-13 08:03:17 -08:00
rio.h rapidio: add handling of redundant routes 2010-10-27 18:03:16 -07:00