diff options
author | Alexandre Bounine <alexandre.bounine@idt.com> | 2012-10-05 00:16:08 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 18:05:22 (GMT) |
commit | 005842efd1ac8ef455ebd28a8c713944863edc5a (patch) | |
tree | 9aea8b929ab5efc237d699cc36a4bed6adb51ad4 /drivers/uwb | |
parent | a7071efc20567f4b6c454ff93ca80daf51bf93e9 (diff) | |
download | linux-fsl-qoriq-005842efd1ac8ef455ebd28a8c713944863edc5a.tar.xz |
rapidio: run discovery as an asynchronous process
Modify mport initialization routine to run the RapidIO discovery process
asynchronously. This allows to have an arbitrary order of enumerating and
discovering ports in systems with multiple RapidIO controllers without
creating a deadlock situation if enumerator port is registered after a
discovering one.
Making netID matching to mportID ensures consistent net ID assignment in
multiport RapidIO systems with asynchronous discovery process (global
counter implementation is affected by race between threads).
[akpm@linux-foundation.org: tweak code layput]
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Li Yang <leoli@freescale.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions