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