xref: /linux/Documentation/ABI/testing/sysfs-class-switchtec (revision 5d8e1881f431cf470170813eb048e6a384340904)
1*5d8e1881SLogan Gunthorpeswitchtec - Microsemi Switchtec PCI Switch Management Endpoint
2*5d8e1881SLogan Gunthorpe
3*5d8e1881SLogan GunthorpeFor details on this subsystem look at Documentation/switchtec.txt.
4*5d8e1881SLogan Gunthorpe
5*5d8e1881SLogan GunthorpeWhat: 		/sys/class/switchtec
6*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
7*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
8*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
9*5d8e1881SLogan GunthorpeDescription:	The switchtec class subsystem folder.
10*5d8e1881SLogan Gunthorpe		Each registered switchtec driver is represented by a switchtecX
11*5d8e1881SLogan Gunthorpe		subfolder (X being an integer >= 0).
12*5d8e1881SLogan Gunthorpe
13*5d8e1881SLogan Gunthorpe
14*5d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/component_id
15*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
16*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
17*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
18*5d8e1881SLogan GunthorpeDescription:	Component identifier as stored in the hardware (eg. PM8543)
19*5d8e1881SLogan Gunthorpe		(read only)
20*5d8e1881SLogan GunthorpeValues: 	arbitrary string.
21*5d8e1881SLogan Gunthorpe
22*5d8e1881SLogan Gunthorpe
23*5d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/component_revision
24*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
25*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
26*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
27*5d8e1881SLogan GunthorpeDescription:	Component revision stored in the hardware (read only)
28*5d8e1881SLogan GunthorpeValues: 	integer.
29*5d8e1881SLogan Gunthorpe
30*5d8e1881SLogan Gunthorpe
31*5d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/component_vendor
32*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
33*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
34*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
35*5d8e1881SLogan GunthorpeDescription:	Component vendor as stored in the hardware (eg. MICROSEM)
36*5d8e1881SLogan Gunthorpe		(read only)
37*5d8e1881SLogan GunthorpeValues: 	arbitrary string.
38*5d8e1881SLogan Gunthorpe
39*5d8e1881SLogan Gunthorpe
40*5d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/device_version
41*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
42*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
43*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
44*5d8e1881SLogan GunthorpeDescription:	Device version as stored in the hardware (read only)
45*5d8e1881SLogan GunthorpeValues: 	integer.
46*5d8e1881SLogan Gunthorpe
47*5d8e1881SLogan Gunthorpe
48*5d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/fw_version
49*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
50*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
51*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
52*5d8e1881SLogan GunthorpeDescription:	Currently running firmware version (read only)
53*5d8e1881SLogan GunthorpeValues: 	integer (in hexadecimal).
54*5d8e1881SLogan Gunthorpe
55*5d8e1881SLogan Gunthorpe
56*5d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/partition
57*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
58*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
59*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
60*5d8e1881SLogan GunthorpeDescription:	Partition number for this device in the switch (read only)
61*5d8e1881SLogan GunthorpeValues: 	integer.
62*5d8e1881SLogan Gunthorpe
63*5d8e1881SLogan Gunthorpe
64*5d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/partition_count
65*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
66*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
67*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
68*5d8e1881SLogan GunthorpeDescription:	Total number of partitions in the switch (read only)
69*5d8e1881SLogan GunthorpeValues: 	integer.
70*5d8e1881SLogan Gunthorpe
71*5d8e1881SLogan Gunthorpe
72*5d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/product_id
73*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
74*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
75*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
76*5d8e1881SLogan GunthorpeDescription:	Product identifier as stored in the hardware (eg. PSX 48XG3)
77*5d8e1881SLogan Gunthorpe		(read only)
78*5d8e1881SLogan GunthorpeValues: 	arbitrary string.
79*5d8e1881SLogan Gunthorpe
80*5d8e1881SLogan Gunthorpe
81*5d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/product_revision
82*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
83*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
84*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
85*5d8e1881SLogan GunthorpeDescription:	Product revision stored in the hardware (eg. RevB)
86*5d8e1881SLogan Gunthorpe		(read only)
87*5d8e1881SLogan GunthorpeValues: 	arbitrary string.
88*5d8e1881SLogan Gunthorpe
89*5d8e1881SLogan Gunthorpe
90*5d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/product_vendor
91*5d8e1881SLogan GunthorpeDate:		05-Jan-2017
92*5d8e1881SLogan GunthorpeKernelVersion:	v4.11
93*5d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
94*5d8e1881SLogan GunthorpeDescription:	Product vendor as stored in the hardware (eg. MICROSEM)
95*5d8e1881SLogan Gunthorpe		(read only)
96*5d8e1881SLogan GunthorpeValues: 	arbitrary string.
97