diff options
author | Alexandre Bounine <[email protected]> | 2013-07-03 15:09:01 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-07-03 16:08:05 -0700 |
commit | 6ca40c2565fc617534d20d10a5848b626213608c (patch) | |
tree | 8d0ddc5543772647e232158d7f332a25b3291ae7 /lib/mpi/mpi-cmp.c | |
parent | ed5edee2f8547d5c2b28de21cb1471aaea71ee0a (diff) |
rapidio: change endpoint device name format
Change endpoint device name format to use a component tag value instead of
device destination ID.
RapidIO specification defines a component tag to be a unique identifier
for devices in a network. RapidIO switches already use component tag as
part of their device name and also use it for device identification when
processing error management event notifications.
Forming an endpoint's device name using its component tag instead of
destination ID allows to keep sysfs device directories unchanged in case
if a routing process dynamically changes endpoint's destination ID as a
result of route optimization.
This change should not affect any existing users because a valid device
destination ID always should be obtained by reading "destid" attribute and
not by parsing device name.
This patch also removes switchid member from struct rio_switch because it
simply duplicates the component tag and does not have other use than in
device name generation.
Signed-off-by: Alexandre Bounine <[email protected]>
Cc: Matt Porter <[email protected]>
Cc: Li Yang <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: Andre van Herk <[email protected]>
Cc: Micha Nelissen <[email protected]>
Cc: Stef van Os <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions