1 What: /sys/bus/rapidio/devices/<nn>: 2 Description: 3 For each RapidIO device, the R 4 an individual subdirectory wit 5 device_name "nn:d:iiii", where 6 7 ==== ======================= 8 nn two-digit hexadecimal I 9 device resides 10 d device type: 'e' - for 11 iiii four-digit device destI 12 switches 13 ==== ======================= 14 15 For example, below is a list o 16 represents a typical RapidIO n 17 and two agent endpoints, as it 18 (with destID = 1):: 19 20 /sys/bus/rapidio/devices/00: 21 /sys/bus/rapidio/devices/00: 22 /sys/bus/rapidio/devices/00: 23 24 NOTE: 25 An enumerating or discoverin 26 sysfs entry for itself, this 27 is not shown in the list. 28 29 Attributes Common for All RapidIO Devices 30 ----------------------------------------- 31 32 What: /sys/bus/rapidio/devices/<nn>: 33 Date: Nov, 2005 34 KernelVersion: v2.6.15 35 Contact: Matt Porter <mporter@kernel.cra 36 Alexandre Bounine <alexandre.bo 37 Description: 38 (RO) returns the device identi 39 40 What: /sys/bus/rapidio/devices/<nn>: 41 Date: Nov, 2005 42 KernelVersion: v2.6.15 43 Contact: Matt Porter <mporter@kernel.cra 44 Alexandre Bounine <alexandre.bo 45 Description: 46 (RO) returns the device vendor 47 48 What: /sys/bus/rapidio/devices/<nn>: 49 Date: Nov, 2005 50 KernelVersion: v2.6.15 51 Contact: Matt Porter <mporter@kernel.cra 52 Alexandre Bounine <alexandre.bo 53 Description: 54 (RO) returns the device revisi 55 56 What: /sys/bus/rapidio/devices/<nn>: 57 Date: Nov, 2005 58 KernelVersion: v2.6.15 59 Contact: Matt Porter <mporter@kernel.cra 60 Alexandre Bounine <alexandre.bo 61 Description: 62 (RO) returns identifier for th 63 64 What: /sys/bus/rapidio/devices/<nn>: 65 Date: Nov, 2005 66 KernelVersion: v2.6.15 67 Contact: Matt Porter <mporter@kernel.cra 68 Alexandre Bounine <alexandre.bo 69 Description: 70 (RO) returns revision level of 71 device 72 73 What: /sys/bus/rapidio/devices/<nn>: 74 Date: Nov, 2005 75 KernelVersion: v2.6.15 76 Contact: Matt Porter <mporter@kernel.cra 77 Alexandre Bounine <alexandre.bo 78 Description: 79 (RO) returns vendor identifier 80 device 81 82 What: /sys/bus/rapidio/devices/<nn>: 83 Date: Mar, 2011 84 KernelVersion: v2.6.3 85 Contact: Matt Porter <mporter@kernel.cra 86 Alexandre Bounine <alexandre.bo 87 Description: 88 (RO) returns device destinatio 89 routine 90 91 What: /sys/bus/rapidio/devices/<nn>: 92 Date: Mar, 2011 93 KernelVersion: v2.6.39 94 Contact: Matt Porter <mporter@kernel.cra 95 Alexandre Bounine <alexandre.bo 96 Description: 97 (RO) returns name of previous 98 device that that owns this att 99 100 What: /sys/bus/rapidio/devices/<nn>: 101 Date: Jul, 2013 102 KernelVersion: v3.11 103 Contact: Matt Porter <mporter@kernel.cra 104 Alexandre Bounine <alexandre.bo 105 Description: 106 (RO) returns the device modali 107 108 What: /sys/bus/rapidio/devices/<nn>: 109 Date: Nov, 2005 110 KernelVersion: v2.6.15 111 Contact: Matt Porter <mporter@kernel.cra 112 Alexandre Bounine <alexandre.bo 113 Description: 114 (RW) Binary attribute to read 115 configuration registers using 116 transactions. This attribute i 117 "config" attribute of PCI devi 118 RapidIO device registers using 119 operations. 120 121 RapidIO Switch Device Attributes 122 -------------------------------- 123 124 RapidIO switches have additional attributes in 125 common and device-specific sysfs attributes fo 126 integrated into the RapidIO subsystem, it offe 127 device-specific sysfs attributes by specifying 128 set by the switch initialization routine durin 129 process. 130 131 What: /sys/bus/rapidio/devices/<nn>: 132 Date: Nov, 2005 133 KernelVersion: v2.6.15 134 Contact: Matt Porter <mporter@kernel.cra 135 Alexandre Bounine <alexandre.bo 136 Description: 137 (RO) reports switch routing in 138 This attribute reports only va 139 line for each entry. 140 141 What: /sys/bus/rapidio/devices/<nn>: 142 Date: Mar, 2011 143 KernelVersion: v2.6.3 144 Contact: Matt Porter <mporter@kernel.cra 145 Alexandre Bounine <alexandre.bo 146 Description: 147 (RO) device destination ID of 148 a route to the switch 149 150 What: /sys/bus/rapidio/devices/<nn>: 151 Date: Mar, 2011 152 KernelVersion: v2.6.39 153 Contact: Matt Porter <mporter@kernel.cra 154 Alexandre Bounine <alexandre.bo 155 Description: 156 (RO) number of hops on the pat 157 158 What: /sys/bus/rapidio/devices/<nn>: 159 Date: Mar, 2011 160 KernelVersion: v2.6.39 161 Contact: Matt Porter <mporter@kernel.cra 162 Alexandre Bounine <alexandre.bo 163 Description: 164 (RO) returns names of devices 165 a device linked to the ingress 166 is an array names with number 167 in switch. If a switch port ha 168 "null" instead of a device nam 169 170 Device-specific Switch Attributes 171 --------------------------------- 172 173 IDT_GEN2- 174 175 What: /sys/bus/rapidio/devices/<nn>: 176 Date: Oct, 2010 177 KernelVersion: v2.6.37 178 Contact: Matt Porter <mporter@kernel.cra 179 Alexandre Bounine <alexandre.bo 180 Description: 181 (RO) reads contents of device 182 183 RapidIO Bus Attributes 184 ---------------------- 185 186 What: /sys/bus/rapidio/scan 187 Date: May, 2013 188 KernelVersion: v3.11 189 Contact: Matt Porter <mporter@kernel.cra 190 Alexandre Bounine <alexandre.bo 191 Description: 192 (WO) Allows to trigger enumera 193 space. To initiate an enumerat 194 specific mport device, a user 195 RapidIO destination ID) into t 196 sequential number (0 ... RIO_ 197 device. For example, for a mac 198 controller, mport_ID for that 199 initiate RapidIO enumeration/d 200 user must write '-1' (or RIO_M 201 file.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.