Documentation/devicetree/bindings/net/ezchip_enet.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

EZchip NPS Management Ethernet

NPS management Ethernet port의 register·interrupt binding입니다.

Source pathDocumentation/devicetree/bindings/net/ezchip_enet.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

ezchip_enet.txt:1-15

필수 세 속성과 MAC address를 포함한 최소 예제를 정리합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 * EZchip NPS Management Ethernet port driver
2
3 Required properties:
4 - compatible: Should be "ezchip,nps-mgt-enet"
5 - reg: Address and length of the register set for the device
6 - interrupts: Should contain the ENET interrupt
7
8 Examples:
9
10 ethernet@f0003000 {
11 compatible = "ezchip,nps-mgt-enet";
12 reg = <0xf0003000 0x44>;
13 interrupts = <7>;
14 mac-address = [ 00 11 22 33 44 55 ];
15 };
16

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

EZchip NPS management Ethernet

1-7

필수 `compatible`은 `ezchip,nps-mgt-enet`입니다. `reg`는 장치 register set의 주소와 길이이고 `interrupts`에는 ENET interrupt가 들어가야 합니다.

NPS management port 예제

8-15

예제는 register를 `0xf0003000`부터 `0x44` byte 범위에 매핑하고 interrupt 7과 MAC address `00:11:22:33:44:55`를 지정합니다.

ethernet@f0003000 {
        compatible = "ezchip,nps-mgt-enet";
        reg = <0xf0003000 0x44>;
        interrupts = <7>;
        mac-address = [ 00 11 22 33 44 55 ];
};