xref: /linux/Documentation/ABI/stable/sysfs-bus-firewire (revision 9a00c24ae7cb08dcd46edf1327a47871e8466444)
1*9a00c24aSStefan RichterWhat:		/sys/bus/firewire/devices/fw[0-9]+/
2*9a00c24aSStefan RichterDate:		May 2007
3*9a00c24aSStefan RichterKernelVersion:	2.6.22
4*9a00c24aSStefan RichterContact:	linux1394-devel@lists.sourceforge.net
5*9a00c24aSStefan RichterDescription:
6*9a00c24aSStefan Richter		IEEE 1394 node device attributes.
7*9a00c24aSStefan Richter		Read-only.  Mutable during the node device's lifetime.
8*9a00c24aSStefan Richter		See IEEE 1212 for semantic definitions.
9*9a00c24aSStefan Richter
10*9a00c24aSStefan Richter		config_rom
11*9a00c24aSStefan Richter			Contents of the Configuration ROM register.
12*9a00c24aSStefan Richter			Binary attribute; an array of host-endian u32.
13*9a00c24aSStefan Richter
14*9a00c24aSStefan Richter		guid
15*9a00c24aSStefan Richter			The node's EUI-64 in the bus information block of
16*9a00c24aSStefan Richter			Configuration ROM.
17*9a00c24aSStefan Richter			Hexadecimal string representation of an u64.
18*9a00c24aSStefan Richter
19*9a00c24aSStefan Richter
20*9a00c24aSStefan RichterWhat:		/sys/bus/firewire/devices/fw[0-9]+/units
21*9a00c24aSStefan RichterDate:		June 2009
22*9a00c24aSStefan RichterKernelVersion:	2.6.31
23*9a00c24aSStefan RichterContact:	linux1394-devel@lists.sourceforge.net
24*9a00c24aSStefan RichterDescription:
25*9a00c24aSStefan Richter		IEEE 1394 node device attribute.
26*9a00c24aSStefan Richter		Read-only.  Mutable during the node device's lifetime.
27*9a00c24aSStefan Richter		See IEEE 1212 for semantic definitions.
28*9a00c24aSStefan Richter
29*9a00c24aSStefan Richter		units
30*9a00c24aSStefan Richter			Summary of all units present in an IEEE 1394 node.
31*9a00c24aSStefan Richter			Contains space-separated tuples of specifier_id and
32*9a00c24aSStefan Richter			version of each unit present in the node.  Specifier_id
33*9a00c24aSStefan Richter			and version are hexadecimal string representations of
34*9a00c24aSStefan Richter			u24 of the respective unit directory entries.
35*9a00c24aSStefan Richter			Specifier_id and version within each tuple are separated
36*9a00c24aSStefan Richter			by a colon.
37*9a00c24aSStefan Richter
38*9a00c24aSStefan RichterUsers:		udev rules to set ownership and access permissions or ACLs of
39*9a00c24aSStefan Richter		/dev/fw[0-9]+ character device files
40*9a00c24aSStefan Richter
41*9a00c24aSStefan Richter
42*9a00c24aSStefan RichterWhat:		/sys/bus/firewire/devices/fw[0-9]+[.][0-9]+/
43*9a00c24aSStefan RichterDate:		May 2007
44*9a00c24aSStefan RichterKernelVersion:	2.6.22
45*9a00c24aSStefan RichterContact:	linux1394-devel@lists.sourceforge.net
46*9a00c24aSStefan RichterDescription:
47*9a00c24aSStefan Richter		IEEE 1394 unit device attributes.
48*9a00c24aSStefan Richter		Read-only.  Immutable during the unit device's lifetime.
49*9a00c24aSStefan Richter		See IEEE 1212 for semantic definitions.
50*9a00c24aSStefan Richter
51*9a00c24aSStefan Richter		modalias
52*9a00c24aSStefan Richter			Same as MODALIAS in the uevent at device creation.
53*9a00c24aSStefan Richter
54*9a00c24aSStefan Richter		rom_index
55*9a00c24aSStefan Richter			Offset of the unit directory within the parent device's
56*9a00c24aSStefan Richter			(node device's) Configuration ROM, in quadlets.
57*9a00c24aSStefan Richter			Decimal string representation.
58*9a00c24aSStefan Richter
59*9a00c24aSStefan Richter
60*9a00c24aSStefan RichterWhat:		/sys/bus/firewire/devices/*/
61*9a00c24aSStefan RichterDate:		May 2007
62*9a00c24aSStefan RichterKernelVersion:	2.6.22
63*9a00c24aSStefan RichterContact:	linux1394-devel@lists.sourceforge.net
64*9a00c24aSStefan RichterDescription:
65*9a00c24aSStefan Richter		Attributes common to IEEE 1394 node devices and unit devices.
66*9a00c24aSStefan Richter		Read-only.  Mutable during the node device's lifetime.
67*9a00c24aSStefan Richter		Immutable during the unit device's lifetime.
68*9a00c24aSStefan Richter		See IEEE 1212 for semantic definitions.
69*9a00c24aSStefan Richter
70*9a00c24aSStefan Richter		These attributes are only created if the root directory of an
71*9a00c24aSStefan Richter		IEEE 1394 node or the unit directory of an IEEE 1394 unit
72*9a00c24aSStefan Richter		actually contains according entries.
73*9a00c24aSStefan Richter
74*9a00c24aSStefan Richter		hardware_version
75*9a00c24aSStefan Richter			Hexadecimal string representation of an u24.
76*9a00c24aSStefan Richter
77*9a00c24aSStefan Richter		hardware_version_name
78*9a00c24aSStefan Richter			Contents of a respective textual descriptor leaf.
79*9a00c24aSStefan Richter
80*9a00c24aSStefan Richter		model
81*9a00c24aSStefan Richter			Hexadecimal string representation of an u24.
82*9a00c24aSStefan Richter
83*9a00c24aSStefan Richter		model_name
84*9a00c24aSStefan Richter			Contents of a respective textual descriptor leaf.
85*9a00c24aSStefan Richter
86*9a00c24aSStefan Richter		specifier_id
87*9a00c24aSStefan Richter			Hexadecimal string representation of an u24.
88*9a00c24aSStefan Richter			Mandatory in unit directories according to IEEE 1212.
89*9a00c24aSStefan Richter
90*9a00c24aSStefan Richter		vendor
91*9a00c24aSStefan Richter			Hexadecimal string representation of an u24.
92*9a00c24aSStefan Richter			Mandatory in the root directory according to IEEE 1212.
93*9a00c24aSStefan Richter
94*9a00c24aSStefan Richter		vendor_name
95*9a00c24aSStefan Richter			Contents of a respective textual descriptor leaf.
96*9a00c24aSStefan Richter
97*9a00c24aSStefan Richter		version
98*9a00c24aSStefan Richter			Hexadecimal string representation of an u24.
99*9a00c24aSStefan Richter			Mandatory in unit directories according to IEEE 1212.
100*9a00c24aSStefan Richter
101*9a00c24aSStefan Richter
102*9a00c24aSStefan RichterWhat:		/sys/bus/firewire/drivers/sbp2/fw*/host*/target*/*:*:*:*/ieee1394_id
103*9a00c24aSStefan Richter		formerly
104*9a00c24aSStefan Richter		/sys/bus/ieee1394/drivers/sbp2/fw*/host*/target*/*:*:*:*/ieee1394_id
105*9a00c24aSStefan RichterDate:		Feb 2004
106*9a00c24aSStefan RichterKernelVersion:	2.6.4
107*9a00c24aSStefan RichterContact:	linux1394-devel@lists.sourceforge.net
108*9a00c24aSStefan RichterDescription:
109*9a00c24aSStefan Richter		SCSI target port identifier and logical unit identifier of a
110*9a00c24aSStefan Richter		logical unit of an SBP-2 target.  The identifiers are specified
111*9a00c24aSStefan Richter		in SAM-2...SAM-4 annex A.  They are persistent and world-wide
112*9a00c24aSStefan Richter		unique properties the SBP-2 attached target.
113*9a00c24aSStefan Richter
114*9a00c24aSStefan Richter		Read-only attribute, immutable during the target's lifetime.
115*9a00c24aSStefan Richter		Format, as exposed by firewire-sbp2 since 2.6.22, May 2007:
116*9a00c24aSStefan Richter		Colon-separated hexadecimal string representations of
117*9a00c24aSStefan Richter			u64 EUI-64 : u24 directory_ID : u16 LUN
118*9a00c24aSStefan Richter		without 0x prefixes, without whitespace.  The former sbp2 driver
119*9a00c24aSStefan Richter		(removed in 2.6.37 after being superseded by firewire-sbp2) used
120*9a00c24aSStefan Richter		a somewhat shorter format which was not as close to SAM.
121*9a00c24aSStefan Richter
122*9a00c24aSStefan RichterUsers:		udev rules to create /dev/disk/by-id/ symlinks
123