Documentation/ABI/testing/sysfs-bus-rapidio

Source file repositories/reference/linux-study-clean/Documentation/ABI/testing/sysfs-bus-rapidio

File Facts

System
Linux kernel
Corpus path
Documentation/ABI/testing/sysfs-bus-rapidio
Extension
[no extension]
Size
7156 bytes
Lines
202
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: Documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

What:		/sys/bus/rapidio/devices/<nn>:<d>:<iiii>
Description:
		For each RapidIO device, the RapidIO subsystem creates files in
		an individual subdirectory with the following name format of
		device_name "nn:d:iiii", where:

		====   ========================================================
		nn     two-digit hexadecimal ID of RapidIO network where the
		       device resides
		d      device type: 'e' - for endpoint or 's' - for switch
		iiii   four-digit device destID for endpoints, or switchID for
		       switches
		====   ========================================================

		For example, below is a list of device directories that
		represents a typical RapidIO network with one switch, one host,
		and two agent endpoints, as it is seen by the enumerating host
		(with destID = 1)::

		  /sys/bus/rapidio/devices/00:e:0000
		  /sys/bus/rapidio/devices/00:e:0002
		  /sys/bus/rapidio/devices/00:s:0001

		NOTE:
		  An enumerating or discovering endpoint does not create a
		  sysfs entry for itself, this is why an endpoint with destID=1
		  is not shown in the list.

Attributes Common for All RapidIO Devices
-----------------------------------------

What:		/sys/bus/rapidio/devices/<nn>:<d>:<iiii>/did
Date:		Nov, 2005
KernelVersion:	v2.6.15
Contact:	Matt Porter <mporter@kernel.crashing.org>,
		Alexandre Bounine <alexandre.bounine@idt.com>
Description:
		(RO) returns the device identifier

What:		/sys/bus/rapidio/devices/<nn>:<d>:<iiii>/vid
Date:		Nov, 2005
KernelVersion:	v2.6.15
Contact:	Matt Porter <mporter@kernel.crashing.org>,
		Alexandre Bounine <alexandre.bounine@idt.com>
Description:
		(RO) returns the device vendor identifier

What:		/sys/bus/rapidio/devices/<nn>:<d>:<iiii>/device_rev
Date:		Nov, 2005
KernelVersion:	v2.6.15
Contact:	Matt Porter <mporter@kernel.crashing.org>,
		Alexandre Bounine <alexandre.bounine@idt.com>
Description:
		(RO) returns the device revision level

What:		/sys/bus/rapidio/devices/<nn>:<d>:<iiii>/asm_did
Date:		Nov, 2005
KernelVersion:	v2.6.15
Contact:	Matt Porter <mporter@kernel.crashing.org>,
		Alexandre Bounine <alexandre.bounine@idt.com>
Description:
		(RO) returns identifier for the assembly containing the device

What:		/sys/bus/rapidio/devices/<nn>:<d>:<iiii>/asm_rev
Date:		Nov, 2005
KernelVersion:	v2.6.15
Contact:	Matt Porter <mporter@kernel.crashing.org>,
		Alexandre Bounine <alexandre.bounine@idt.com>
Description:
		(RO) returns revision level of the assembly containing the

Annotation

Implementation Notes