요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Component identity
sysfs-class-switchtec:14-37Hardware에 저장된 component identifier, integer revision과 vendor string을 read-only attribute로 제공합니다.
Device and firmware versions
sysfs-class-switchtec:40-53Hardware device version은 integer로, 현재 실행 중인 firmware version은 hexadecimal integer로 읽습니다.
Partition identity and count
sysfs-class-switchtec:56-69현재 device의 switch partition number와 switch 전체 partition 수를 read-only integer로 제공합니다.
Product identity
sysfs-class-switchtec:72-96Hardware에 저장된 product identifier, revision과 vendor를 read-only arbitrary string으로 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
switchtec - Microsemi Switchtec PCI Switch Management Endpoint
For details on this subsystem look at Documentation/driver-api/switchtec.rst.
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.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Switchtec class subsystem
1-11switchtec은 Microsemi Switchtec PCI Switch Management Endpoint입니다. 이 subsystem의 자세한 내용은 Documentation/driver-api/switchtec.rst를 참조하십시오.
| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | Switchtec class subsystem folder입니다. 등록된 switchtec driver는 각각 switchtecX subfolder로 나타나며 X는 0 이상의 정수입니다. |
Class root 아래 각 registered driver instance가 numbered subfolder로 나타납니다.
Hardware component identifier
14-20| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec/switchtec[0-9]+/component_id |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | Hardware에 저장된 component identifier입니다(예: PM8543). Read-only입니다. |
| Values | 임의의 string입니다. |
Hardware component revision
23-28| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec/switchtec[0-9]+/component_revision |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | Hardware에 저장된 component revision입니다. Read-only입니다. |
| Values | Integer입니다. |
Hardware component vendor
31-37| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec/switchtec[0-9]+/component_vendor |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | Hardware에 저장된 component vendor입니다(예: MICROSEM). Read-only입니다. |
| Values | 임의의 string입니다. |
Component 자체를 식별하는 세 read-only hardware field입니다.
Hardware device version
40-45| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec/switchtec[0-9]+/device_version |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | Hardware에 저장된 device version입니다. Read-only입니다. |
| Values | Integer입니다. |
Running firmware version
48-53| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec/switchtec[0-9]+/fw_version |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | 현재 실행 중인 firmware version입니다. Read-only입니다. |
| Values | Hexadecimal integer입니다. |
Device hardware version과 running firmware version의 표현 형식입니다.
Current device partition
56-61| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec/switchtec[0-9]+/partition |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | Switch 안에서 이 device가 속한 partition number입니다. Read-only입니다. |
| Values | Integer입니다. |
Total switch partition count
64-69| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec/switchtec[0-9]+/partition_count |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | Switch의 total partition 수입니다. Read-only입니다. |
| Values | Integer입니다. |
Current management endpoint의 partition 위치를 switch 전체 count와 함께 해석합니다.
Hardware product identifier
72-78| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec/switchtec[0-9]+/product_id |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | Hardware에 저장된 product identifier입니다(예: PSX 48XG3). Read-only입니다. |
| Values | 임의의 string입니다. |
Hardware product revision
81-87| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec/switchtec[0-9]+/product_revision |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | Hardware에 저장된 product revision입니다(예: RevB). Read-only입니다. |
| Values | 임의의 string입니다. |
Hardware product vendor
90-96| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/switchtec/switchtec[0-9]+/product_vendor |
| Date | 2017년 1월 5일 |
| KernelVersion | v4.11 |
| Contact | Logan Gunthorpe <logang@deltatee.com> |
| Description | Hardware에 저장된 product vendor입니다(예: MICROSEM). Read-only입니다. |
| Values | 임의의 string입니다. |
Product-level identity를 구성하는 세 arbitrary-string field입니다.
Switchtec class and instances
sysfs-class-switchtec:1-11Switchtec class folder 아래에는 등록된 driver instance마다 0부터 시작하는 정수 X를 사용한 switchtecX directory가 생깁니다.