summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-class-switchtec
blob: 48cb4c15e430995c61f5af818368c0feeac8317b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
switchtec - Microsemi Switchtec PCI Switch Management Endpoint

For details on this subsystem look at Documentation/switchtec.txt.

What: 		/sys/class/switchtec
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	The switchtec class subsystem folder.
		Each registered switchtec driver is represented by a switchtecX
		subfolder (X being an integer >= 0).


What:		/sys/class/switchtec/switchtec[0-9]+/component_id
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	Component identifier as stored in the hardware (eg. PM8543)
		(read only)
Values: 	arbitrary string.


What:		/sys/class/switchtec/switchtec[0-9]+/component_revision
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	Component revision stored in the hardware (read only)
Values: 	integer.


What:		/sys/class/switchtec/switchtec[0-9]+/component_vendor
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	Component vendor as stored in the hardware (eg. MICROSEM)
		(read only)
Values: 	arbitrary string.


What:		/sys/class/switchtec/switchtec[0-9]+/device_version
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	Device version as stored in the hardware (read only)
Values: 	integer.


What:		/sys/class/switchtec/switchtec[0-9]+/fw_version
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	Currently running firmware version (read only)
Values: 	integer (in hexadecimal).


What:		/sys/class/switchtec/switchtec[0-9]+/partition
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	Partition number for this device in the switch (read only)
Values: 	integer.


What:		/sys/class/switchtec/switchtec[0-9]+/partition_count
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	Total number of partitions in the switch (read only)
Values: 	integer.


What:		/sys/class/switchtec/switchtec[0-9]+/product_id
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	Product identifier as stored in the hardware (eg. PSX 48XG3)
		(read only)
Values: 	arbitrary string.


What:		/sys/class/switchtec/switchtec[0-9]+/product_revision
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	Product revision stored in the hardware (eg. RevB)
		(read only)
Values: 	arbitrary string.


What:		/sys/class/switchtec/switchtec[0-9]+/product_vendor
Date:		05-Jan-2017
KernelVersion:	v4.11
Contact:	Logan Gunthorpe <logang@deltatee.com>
Description:	Product vendor as stored in the hardware (eg. MICROSEM)
		(read only)
Values: 	arbitrary string.