← Documents Documentation/ABI/testing/sysfs-bus-fsl-mc GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

fsl-mc driver bind and unbind sysfs ABI

Object.Id 형식의 fsl-mc device location을 driver에 수동 bind하거나 unbind하는 sysfs control files를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-bus-fsl-mc
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Bind an fsl-mc device

sysfs-bus-fsl-mc:1-12

bind file에 /sys/bus/fsl-mc/devices/와 같은 Object.Id 형식의 location을 쓰면 해당 driver가 device binding을 시도합니다.

Unbind an fsl-mc device

sysfs-bus-fsl-mc:14-25

unbind file에 같은 형식의 location을 쓰면 해당 driver가 device binding을 해제하려고 시도합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/bus/fsl-mc/drivers/.../bind
2 Date: December 2016
4 Description:
5 Writing a device location to this file will cause
6 the driver to attempt to bind to the device found at
7 this location. The format for the location is Object.Id
8 and is the same as found in /sys/bus/fsl-mc/devices/.
9
10 For example::
11
12 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind
13
14 What: /sys/bus/fsl-mc/drivers/.../unbind
15 Date: December 2016
17 Description:
18 Writing a device location to this file will cause the
19 driver to attempt to unbind from the device found at
20 this location. The format for the location is Object.Id
21 and is the same as found in /sys/bus/fsl-mc/devices/.
22
23 For example::
24
25 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind
26

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Bind an fsl-mc device

1-12
항목전문 번역
What/sys/bus/fsl-mc/drivers/.../bind
Date2016년 12월
Contact[email protected]
Description이 file에 device location을 쓰면 driver가 그 location에서 발견한 device에 bind를 시도합니다. Location 형식은 Object.Id이며 /sys/bus/fsl-mc/devices/에서 볼 수 있는 형식과 같습니다.

예:

# echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind

Unbind an fsl-mc device

14-25
항목전문 번역
What/sys/bus/fsl-mc/drivers/.../unbind
Date2016년 12월
Contact[email protected]
Description이 file에 device location을 쓰면 driver가 그 location에서 발견한 device와의 bind를 해제하려고 시도합니다. Location 형식은 Object.Id이며 /sys/bus/fsl-mc/devices/에서 볼 수 있는 형식과 같습니다.

예:

# echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind