xref: /linux/Documentation/ABI/stable/sysfs-bus-firewire (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
19a00c24aSStefan RichterWhat:		/sys/bus/firewire/devices/fw[0-9]+/
29a00c24aSStefan RichterDate:		May 2007
39a00c24aSStefan RichterKernelVersion:	2.6.22
49a00c24aSStefan RichterContact:	linux1394-devel@lists.sourceforge.net
59a00c24aSStefan RichterDescription:
69a00c24aSStefan Richter		IEEE 1394 node device attributes.
79a00c24aSStefan Richter		Read-only.  Mutable during the node device's lifetime.
89a00c24aSStefan Richter		See IEEE 1212 for semantic definitions.
99a00c24aSStefan Richter
109a00c24aSStefan Richter		config_rom
119a00c24aSStefan Richter			Contents of the Configuration ROM register.
129a00c24aSStefan Richter			Binary attribute; an array of host-endian u32.
139a00c24aSStefan Richter
149a00c24aSStefan Richter		guid
159a00c24aSStefan Richter			The node's EUI-64 in the bus information block of
169a00c24aSStefan Richter			Configuration ROM.
179a00c24aSStefan Richter			Hexadecimal string representation of an u64.
189a00c24aSStefan Richter
199a00c24aSStefan Richter
209a00c24aSStefan RichterWhat:		/sys/bus/firewire/devices/fw[0-9]+/units
219a00c24aSStefan RichterDate:		June 2009
229a00c24aSStefan RichterKernelVersion:	2.6.31
239a00c24aSStefan RichterContact:	linux1394-devel@lists.sourceforge.net
249a00c24aSStefan RichterDescription:
259a00c24aSStefan Richter		IEEE 1394 node device attribute.
269a00c24aSStefan Richter		Read-only.  Mutable during the node device's lifetime.
279a00c24aSStefan Richter		See IEEE 1212 for semantic definitions.
289a00c24aSStefan Richter
299a00c24aSStefan Richter		units
309a00c24aSStefan Richter			Summary of all units present in an IEEE 1394 node.
319a00c24aSStefan Richter			Contains space-separated tuples of specifier_id and
329a00c24aSStefan Richter			version of each unit present in the node.  Specifier_id
339a00c24aSStefan Richter			and version are hexadecimal string representations of
349a00c24aSStefan Richter			u24 of the respective unit directory entries.
359a00c24aSStefan Richter			Specifier_id and version within each tuple are separated
369a00c24aSStefan Richter			by a colon.
379a00c24aSStefan Richter
389a00c24aSStefan RichterUsers:		udev rules to set ownership and access permissions or ACLs of
399a00c24aSStefan Richter		/dev/fw[0-9]+ character device files
409a00c24aSStefan Richter
419a00c24aSStefan Richter
42e3cbd920SStefan RichterWhat:		/sys/bus/firewire/devices/fw[0-9]+/is_local
43e3cbd920SStefan RichterDate:		July 2012
44e3cbd920SStefan RichterKernelVersion:	3.6
45e3cbd920SStefan RichterContact:	linux1394-devel@lists.sourceforge.net
46e3cbd920SStefan RichterDescription:
47e3cbd920SStefan Richter		IEEE 1394 node device attribute.
48e3cbd920SStefan Richter		Read-only and immutable.
49e3cbd920SStefan RichterValues:		1: The sysfs entry represents a local node (a controller card).
50*98913408SMauro Carvalho Chehab
51e3cbd920SStefan Richter		0: The sysfs entry represents a remote node.
52e3cbd920SStefan Richter
53e3cbd920SStefan Richter
549a00c24aSStefan RichterWhat:		/sys/bus/firewire/devices/fw[0-9]+[.][0-9]+/
559a00c24aSStefan RichterDate:		May 2007
569a00c24aSStefan RichterKernelVersion:	2.6.22
579a00c24aSStefan RichterContact:	linux1394-devel@lists.sourceforge.net
589a00c24aSStefan RichterDescription:
599a00c24aSStefan Richter		IEEE 1394 unit device attributes.
609a00c24aSStefan Richter		Read-only.  Immutable during the unit device's lifetime.
619a00c24aSStefan Richter		See IEEE 1212 for semantic definitions.
629a00c24aSStefan Richter
639a00c24aSStefan Richter		modalias
649a00c24aSStefan Richter			Same as MODALIAS in the uevent at device creation.
659a00c24aSStefan Richter
669a00c24aSStefan Richter		rom_index
679a00c24aSStefan Richter			Offset of the unit directory within the parent device's
689a00c24aSStefan Richter			(node device's) Configuration ROM, in quadlets.
699a00c24aSStefan Richter			Decimal string representation.
709a00c24aSStefan Richter
719a00c24aSStefan Richter
729a00c24aSStefan RichterWhat:		/sys/bus/firewire/devices/*/
739a00c24aSStefan RichterDate:		May 2007
749a00c24aSStefan RichterKernelVersion:	2.6.22
759a00c24aSStefan RichterContact:	linux1394-devel@lists.sourceforge.net
769a00c24aSStefan RichterDescription:
779a00c24aSStefan Richter		Attributes common to IEEE 1394 node devices and unit devices.
789a00c24aSStefan Richter		Read-only.  Mutable during the node device's lifetime.
799a00c24aSStefan Richter		Immutable during the unit device's lifetime.
809a00c24aSStefan Richter		See IEEE 1212 for semantic definitions.
819a00c24aSStefan Richter
829a00c24aSStefan Richter		These attributes are only created if the root directory of an
839a00c24aSStefan Richter		IEEE 1394 node or the unit directory of an IEEE 1394 unit
849a00c24aSStefan Richter		actually contains according entries.
859a00c24aSStefan Richter
869a00c24aSStefan Richter		hardware_version
879a00c24aSStefan Richter			Hexadecimal string representation of an u24.
889a00c24aSStefan Richter
899a00c24aSStefan Richter		hardware_version_name
909a00c24aSStefan Richter			Contents of a respective textual descriptor leaf.
919a00c24aSStefan Richter
929a00c24aSStefan Richter		model
939a00c24aSStefan Richter			Hexadecimal string representation of an u24.
949a00c24aSStefan Richter
959a00c24aSStefan Richter		model_name
969a00c24aSStefan Richter			Contents of a respective textual descriptor leaf.
979a00c24aSStefan Richter
989a00c24aSStefan Richter		specifier_id
999a00c24aSStefan Richter			Hexadecimal string representation of an u24.
1009a00c24aSStefan Richter			Mandatory in unit directories according to IEEE 1212.
1019a00c24aSStefan Richter
1029a00c24aSStefan Richter		vendor
1039a00c24aSStefan Richter			Hexadecimal string representation of an u24.
1049a00c24aSStefan Richter			Mandatory in the root directory according to IEEE 1212.
1059a00c24aSStefan Richter
1069a00c24aSStefan Richter		vendor_name
1079a00c24aSStefan Richter			Contents of a respective textual descriptor leaf.
1089a00c24aSStefan Richter
1099a00c24aSStefan Richter		version
1109a00c24aSStefan Richter			Hexadecimal string representation of an u24.
1119a00c24aSStefan Richter			Mandatory in unit directories according to IEEE 1212.
1129a00c24aSStefan Richter
1139a00c24aSStefan Richter
1149a00c24aSStefan RichterWhat:		/sys/bus/firewire/drivers/sbp2/fw*/host*/target*/*:*:*:*/ieee1394_id
1159a00c24aSStefan Richter		formerly
1169a00c24aSStefan Richter		/sys/bus/ieee1394/drivers/sbp2/fw*/host*/target*/*:*:*:*/ieee1394_id
1179a00c24aSStefan RichterDate:		Feb 2004
1189a00c24aSStefan RichterKernelVersion:	2.6.4
1199a00c24aSStefan RichterContact:	linux1394-devel@lists.sourceforge.net
1209a00c24aSStefan RichterDescription:
1219a00c24aSStefan Richter		SCSI target port identifier and logical unit identifier of a
1229a00c24aSStefan Richter		logical unit of an SBP-2 target.  The identifiers are specified
1239a00c24aSStefan Richter		in SAM-2...SAM-4 annex A.  They are persistent and world-wide
1249a00c24aSStefan Richter		unique properties the SBP-2 attached target.
1259a00c24aSStefan Richter
1269a00c24aSStefan Richter		Read-only attribute, immutable during the target's lifetime.
1279a00c24aSStefan Richter		Format, as exposed by firewire-sbp2 since 2.6.22, May 2007:
1289a00c24aSStefan Richter		Colon-separated hexadecimal string representations of
129*98913408SMauro Carvalho Chehab
1309a00c24aSStefan Richter			u64 EUI-64 : u24 directory_ID : u16 LUN
131*98913408SMauro Carvalho Chehab
1329a00c24aSStefan Richter		without 0x prefixes, without whitespace.  The former sbp2 driver
1339a00c24aSStefan Richter		(removed in 2.6.37 after being superseded by firewire-sbp2) used
1349a00c24aSStefan Richter		a somewhat shorter format which was not as close to SAM.
1359a00c24aSStefan Richter
1369a00c24aSStefan RichterUsers:		udev rules to create /dev/disk/by-id/ symlinks
137