요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Aeroflex Gaisler GRCAN and GRHCAN CAN controllers.
The GRCAN and CRHCAN CAN controllers are available in the GRLIB VHDL IP core
library.
Note: These properties are built from the AMBA plug&play in a Leon SPARC system
(the ordinary environment for GRCAN and GRHCAN). There are no dts files for
sparc.
Required properties:
- name : Should be "GAISLER_GRCAN", "01_03d", "GAISLER_GRHCAN" or "01_034"
- reg : Address and length of the register set for the device
- freq : Frequency of the external oscillator clock in Hz (the frequency of
the amba bus in the ordinary case)
- interrupts : Interrupt number for this device
Optional properties:
- systemid : If not present or if the value of the least significant 16 bits
of this 32-bit property is smaller than GRCAN_TXBUG_SAFE_GRLIB_VERSION
a bug workaround is activated.
For further information look in the documentation for the GLIB IP core library:
http://www.gaisler.com/products/grlib/grip.pdf
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Aeroflex Gaisler GRCAN과 GRHCAN
1-9GRCAN과 GRHCAN CAN controller는 GRLIB VHDL IP core library에서 제공됩니다.
이 속성들은 GRCAN과 GRHCAN의 일반 환경인 Leon SPARC 시스템에서 AMBA plug&play 정보로 만들어집니다. SPARC용 DTS 파일은 없습니다.
필수 속성
10-20`name`은 `GAISLER_GRCAN`, `01_03d`, `GAISLER_GRHCAN`, `01_034` 중 하나여야 합니다.
`reg`는 장치 register set의 주소와 길이, `freq`는 외부 oscillator의 Hz 주파수이며 일반적인 경우 AMBA bus frequency입니다. `interrupts`는 이 장치의 interrupt number입니다.
systemid와 TX 버그 우회
21-28선택 `systemid`가 없거나 이 32-bit 속성의 하위 16-bit 값이 `GRCAN_TXBUG_SAFE_GRLIB_VERSION`보다 작으면 버그 workaround를 활성화합니다.
자세한 내용은 GRLIB IP core library 문서 `http://www.gaisler.com/products/grlib/grip.pdf`를 참조하십시오.
systemid의 존재와 하위 16-bit version으로 workaround 활성화를 결정합니다.
요약과 해설
grcan.txt:1-28Leon SPARC 환경에서 생성되는 register, bus frequency, interrupt와 systemid 판정을 설명합니다.