linux/drivers/rapidio/switches
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
..
idt_gen2.c rapidio: use common destid storage for endpoints and switches 2011-01-13 08:03:17 -08:00
idtcps.c rapidio: use common destid storage for endpoints and switches 2011-01-13 08:03:17 -08:00
Kconfig rapidio: add support for IDT CPS Gen2 switches 2010-10-27 18:03:16 -07:00
Makefile rapidio: add support for IDT CPS Gen2 switches 2010-10-27 18:03:16 -07:00
tsi57x.c rapidio: use common destid storage for endpoints and switches 2011-01-13 08:03:17 -08:00
tsi500.c rapidio: add switch domain routines 2010-05-27 09:12:51 -07:00
tsi568.c rapidio: use common destid storage for endpoints and switches 2011-01-13 08:03:17 -08:00