← Documents Documentation/ABI/testing/sysfs-class-net-grcan GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

GRCAN network sysfs ABI

GRCAN controller의 두 physical CAN interface enable bit와 사용할 interface selector를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-class-net-grcan
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

Physical interface 0

sysfs-class-net-grcan:2-12

Configuration register의 Enable 0 bit와 grcan.enable0 module parameter를 연결합니다.

Physical interface 1

sysfs-class-net-grcan:14-24

Configuration register의 Enable 1 bit와 grcan.enable1 module parameter를 연결합니다.

Selected physical interface

sysfs-class-net-grcan:26-35

0 또는 1로 active physical interface를 선택하며 grcan.select module parameter가 기본값을 정할 수 있습니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1
2 What: /sys/class/net/<iface>/grcan/enable0
3 Date: October 2012
4 KernelVersion: 3.8
5 Contact: Andreas Larsson <andreas@gaisler.com>
6 Description:
7 Hardware configuration of physical interface 0. This file reads
8 and writes the "Enable 0" bit of the configuration register.
9 Possible values: 0 or 1. See the GRCAN chapter of the GRLIB IP
10 core library documentation for details. The default value is 0
11 or set by the module parameter grcan.enable0 and can be read at
12 /sys/module/grcan/parameters/enable0.
13
14 What: /sys/class/net/<iface>/grcan/enable1
15 Date: October 2012
16 KernelVersion: 3.8
17 Contact: Andreas Larsson <andreas@gaisler.com>
18 Description:
19 Hardware configuration of physical interface 1. This file reads
20 and writes the "Enable 1" bit of the configuration register.
21 Possible values: 0 or 1. See the GRCAN chapter of the GRLIB IP
22 core library documentation for details. The default value is 0
23 or set by the module parameter grcan.enable1 and can be read at
24 /sys/module/grcan/parameters/enable1.
25
26 What: /sys/class/net/<iface>/grcan/select
27 Date: October 2012
28 KernelVersion: 3.8
29 Contact: Andreas Larsson <andreas@gaisler.com>
30 Description:
31 Configuration of which physical interface to be used. Possible
32 values: 0 or 1. See the GRCAN chapter of the GRLIB IP core
33 library documentation for details. The default value is 0 or is
34 set by the module parameter grcan.select and can be read at
35 /sys/module/grcan/parameters/select.
36

3. 한국어 전문 번역

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

Physical interface 0 enable bit

2-12
항목한국어 전문 번역
What/sys/class/net/<iface>/grcan/enable0
Date2012년 10월
KernelVersion3.8
ContactAndreas Larsson <andreas@gaisler.com>
DescriptionPhysical interface 0의 hardware configuration입니다. 이 file은 configuration register의 "Enable 0" bit를 읽고 씁니다. 가능한 값은 0 또는 1입니다. 자세한 내용은 GRLIB IP core library documentation의 GRCAN chapter를 참조하십시오. 기본값은 0이거나 grcan.enable0 module parameter가 설정한 값이며 /sys/module/grcan/parameters/enable0에서 읽을 수 있습니다.

Physical interface 1 enable bit

14-24
항목한국어 전문 번역
What/sys/class/net/<iface>/grcan/enable1
Date2012년 10월
KernelVersion3.8
ContactAndreas Larsson <andreas@gaisler.com>
DescriptionPhysical interface 1의 hardware configuration입니다. 이 file은 configuration register의 "Enable 1" bit를 읽고 씁니다. 가능한 값은 0 또는 1입니다. 자세한 내용은 GRLIB IP core library documentation의 GRCAN chapter를 참조하십시오. 기본값은 0이거나 grcan.enable1 module parameter가 설정한 값이며 /sys/module/grcan/parameters/enable1에서 읽을 수 있습니다.

Physical interface selector

26-35
항목한국어 전문 번역
What/sys/class/net/<iface>/grcan/select
Date2012년 10월
KernelVersion3.8
ContactAndreas Larsson <andreas@gaisler.com>
Description사용할 physical interface를 구성합니다. 가능한 값은 0 또는 1입니다. 자세한 내용은 GRLIB IP core library documentation의 GRCAN chapter를 참조하십시오. 기본값은 0이거나 grcan.select module parameter가 설정한 값이며 /sys/module/grcan/parameters/select에서 읽을 수 있습니다.
GRCAN interface controls
sysfs 속성대응 module parameter
enable00 또는 1grcan.enable0
enable10 또는 1grcan.enable1
select0 또는 1grcan.select

두 interface의 enable bit와 active interface selector를 module parameter에 대응시킵니다.