tmp_suning_uos_patched/drivers/rapidio
Alexandre Bounine c70555b051 [PATCH] rapidio: fix multi-switch enumeration
This patch contains two fixes for RapisIO enumeration logic:

1. Fix enumeration in configurations with multiple switches. The patch adds:

   a. Enumeration of an empty switch.  Empty switch is a switch that
      does not have any endpoint devices attached to it (except host device
      or previous switch in a chain).  New code assigns a phony destination
      ID associated with the switch and sets up corresponding routes.

   b. Adds a second pass to the enumeration to setup routes to
      devices discovered after switch was scanned.

2. Fix enumeration failure when riohdid parameter has non-zero value.
   Current version fails to setup response path to the host when it has
   destination ID other that 0.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Acked-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 11:18:07 -08:00
..
switches [PATCH] RapidIO support: core enum 2005-11-07 07:53:46 -08:00
Kconfig Fix several typos in drivers/ 2006-10-03 22:31:37 +02:00
Makefile [PATCH] RapidIO support: core base 2005-11-07 07:53:46 -08:00
rio-access.c [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
rio-driver.c [PATCH] Add rio_bus_type probe and remove methods 2006-01-13 11:26:10 -08:00
rio-scan.c [PATCH] rapidio: fix multi-switch enumeration 2007-02-11 11:18:07 -08:00
rio-sysfs.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
rio.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
rio.h [PATCH] rapidio: core updates 2005-11-07 07:53:46 -08:00