60 lines · plain
1What: /sys/class/rapidio_port2Description:3 On-chip RapidIO controllers and PCIe-to-RapidIO bridges4 (referenced as "Master Port" or "mport") are presented in sysfs5 as the special class of devices: "rapidio_port".6 The /sys/class/rapidio_port subdirectory contains individual7 subdirectories named as "rapidioN" where N = mport ID registered8 with RapidIO subsystem.9 10 NOTE: An mport ID is not a RapidIO destination ID assigned to a11 given local mport device.12 13What: /sys/class/rapidio_port/rapidio<N>/sys_size14Date: Apr, 201415KernelVersion: v3.1516Contact: Matt Porter <mporter@kernel.crashing.org>,17 Alexandre Bounine <alexandre.bounine@idt.com>18Description:19 (RO) reports RapidIO common transport system size:20 21 0 = small (8-bit destination ID, max. 256 devices),22 23 1 = large (16-bit destination ID, max. 65536 devices).24 25What: /sys/class/rapidio_port/rapidio<N>/port_destid26Date: Apr, 201427KernelVersion: v3.1528Contact: Matt Porter <mporter@kernel.crashing.org>,29 Alexandre Bounine <alexandre.bounine@idt.com>30Description:31 32(RO) reports RapidIO destination ID assigned to the given33RapidIO mport device. If value 0xFFFFFFFF is returned this means34that no valid destination ID have been assigned to the mport35(yet). Normally, before enumeration/discovery have been executed36only fabric enumerating mports have a valid destination ID37assigned to them using "hdid=..." rapidio module parameter.38 39After enumeration or discovery was performed for a given mport device,40the corresponding subdirectory will also contain subdirectories for each41child RapidIO device connected to the mport.42 43The example below shows mport device subdirectory with several child RapidIO44devices attached to it::45 46 [rio@rapidio ~]$ ls /sys/class/rapidio_port/rapidio0/ -l47 total 048 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:000149 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:000450 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:000751 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:000252 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:000353 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:000554 lrwxrwxrwx 1 root root 0 Feb 11 15:11 device -> ../../../0000:01:00.055 -r--r--r-- 1 root root 4096 Feb 11 15:11 port_destid56 drwxr-xr-x 2 root root 0 Feb 11 15:11 power57 lrwxrwxrwx 1 root root 0 Feb 11 15:04 subsystem -> ../../../../../../class/rapidio_port58 -r--r--r-- 1 root root 4096 Feb 11 15:11 sys_size59 -rw-r--r-- 1 root root 4096 Feb 11 15:04 uevent60