~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-rapidio

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-class-rapidio (Architecture sparc64) and /Documentation/ABI/testing/sysfs-class-rapidio (Architecture m68k)


  1 What:           /sys/class/rapidio_port             1 What:           /sys/class/rapidio_port
  2 Description:                                        2 Description:
  3                 On-chip RapidIO controllers an      3                 On-chip RapidIO controllers and PCIe-to-RapidIO bridges
  4                 (referenced as "Master Port" o      4                 (referenced as "Master Port" or "mport") are presented in sysfs
  5                 as the special class of device      5                 as the special class of devices: "rapidio_port".
  6                 The /sys/class/rapidio_port su      6                 The /sys/class/rapidio_port subdirectory contains individual
  7                 subdirectories named as "rapid      7                 subdirectories named as "rapidioN" where N = mport ID registered
  8                 with RapidIO subsystem.             8                 with RapidIO subsystem.
  9                                                     9 
 10                 NOTE: An mport ID is not a Rap     10                 NOTE: An mport ID is not a RapidIO destination ID assigned to a
 11                 given local mport device.          11                 given local mport device.
 12                                                    12 
 13 What:           /sys/class/rapidio_port/rapidi     13 What:           /sys/class/rapidio_port/rapidio<N>/sys_size
 14 Date:           Apr, 2014                          14 Date:           Apr, 2014
 15 KernelVersion:  v3.15                              15 KernelVersion:  v3.15
 16 Contact:        Matt Porter <mporter@kernel.cra     16 Contact:        Matt Porter <mporter@kernel.crashing.org>,
 17                 Alexandre Bounine <alexandre.bo     17                 Alexandre Bounine <alexandre.bounine@idt.com>
 18 Description:                                       18 Description:
 19                 (RO) reports RapidIO common tr     19                 (RO) reports RapidIO common transport system size:
 20                                                    20 
 21                 0 = small (8-bit destination I     21                 0 = small (8-bit destination ID, max. 256 devices),
 22                                                    22 
 23                 1 = large (16-bit destination      23                 1 = large (16-bit destination ID, max. 65536 devices).
 24                                                    24 
 25 What:           /sys/class/rapidio_port/rapidi     25 What:           /sys/class/rapidio_port/rapidio<N>/port_destid
 26 Date:           Apr, 2014                          26 Date:           Apr, 2014
 27 KernelVersion:  v3.15                              27 KernelVersion:  v3.15
 28 Contact:        Matt Porter <mporter@kernel.cra     28 Contact:        Matt Porter <mporter@kernel.crashing.org>,
 29                 Alexandre Bounine <alexandre.bo     29                 Alexandre Bounine <alexandre.bounine@idt.com>
 30 Description:                                       30 Description:
 31                                                    31 
 32 (RO) reports RapidIO destination ID assigned t     32 (RO) reports RapidIO destination ID assigned to the given
 33 RapidIO mport device. If value 0xFFFFFFFF is r     33 RapidIO mport device. If value 0xFFFFFFFF is returned this means
 34 that no valid destination ID have been assigne     34 that no valid destination ID have been assigned to the mport
 35 (yet). Normally, before enumeration/discovery      35 (yet). Normally, before enumeration/discovery have been executed
 36 only fabric enumerating mports have a valid de     36 only fabric enumerating mports have a valid destination ID
 37 assigned to them using "hdid=..." rapidio modu     37 assigned to them using "hdid=..." rapidio module parameter.
 38                                                    38 
 39 After enumeration or discovery was performed f     39 After enumeration or discovery was performed for a given mport device,
 40 the corresponding subdirectory will also conta     40 the corresponding subdirectory will also contain subdirectories for each
 41 child RapidIO device connected to the mport.       41 child RapidIO device connected to the mport.
 42                                                    42 
 43 The example below shows mport device subdirect     43 The example below shows mport device subdirectory with several child RapidIO
 44 devices attached to it::                           44 devices attached to it::
 45                                                    45 
 46     [rio@rapidio ~]$ ls /sys/class/rapidio_por     46     [rio@rapidio ~]$ ls /sys/class/rapidio_port/rapidio0/ -l
 47     total 0                                        47     total 0
 48     drwxr-xr-x 3 root root    0 Feb 11 15:10 0     48     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:e:0001
 49     drwxr-xr-x 3 root root    0 Feb 11 15:10 0     49     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:e:0004
 50     drwxr-xr-x 3 root root    0 Feb 11 15:10 0     50     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:e:0007
 51     drwxr-xr-x 3 root root    0 Feb 11 15:10 0     51     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:s:0002
 52     drwxr-xr-x 3 root root    0 Feb 11 15:10 0     52     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:s:0003
 53     drwxr-xr-x 3 root root    0 Feb 11 15:10 0     53     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:s:0005
 54     lrwxrwxrwx 1 root root    0 Feb 11 15:11 d     54     lrwxrwxrwx 1 root root    0 Feb 11 15:11 device -> ../../../0000:01:00.0
 55     -r--r--r-- 1 root root 4096 Feb 11 15:11 p     55     -r--r--r-- 1 root root 4096 Feb 11 15:11 port_destid
 56     drwxr-xr-x 2 root root    0 Feb 11 15:11 p     56     drwxr-xr-x 2 root root    0 Feb 11 15:11 power
 57     lrwxrwxrwx 1 root root    0 Feb 11 15:04 s     57     lrwxrwxrwx 1 root root    0 Feb 11 15:04 subsystem -> ../../../../../../class/rapidio_port
 58     -r--r--r-- 1 root root 4096 Feb 11 15:11 s     58     -r--r--r-- 1 root root 4096 Feb 11 15:11 sys_size
 59     -rw-r--r-- 1 root root 4096 Feb 11 15:04 u     59     -rw-r--r-- 1 root root 4096 Feb 11 15:04 uevent
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php