요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
==============================================================
Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux
==============================================================
Note: This driver doesn't have a maintainer.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
This driver provides kernel support for Davicom DM9102(A)/DM9132/DM9801 ethernet cards ( CNET
10/100 ethernet cards uses Davicom chipset too, so this driver supports CNET cards too ).If you
didn't compile this driver as a module, it will automatically load itself on boot and print a
line similar to::
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
If you compiled this driver as a module, you have to load it on boot.You can load it with command::
insmod dmfe
This way it will autodetect the device mode.This is the suggested way to load the module.Or you can pass
a mode= setting to module while loading, like::
insmod dmfe mode=0 # Force 10M Half Duplex
insmod dmfe mode=1 # Force 100M Half Duplex
insmod dmfe mode=4 # Force 10M Full Duplex
insmod dmfe mode=5 # Force 100M Full Duplex
Next you should configure your network interface with a command similar to::
ifconfig eth0 172.22.3.18
^^^^^^^^^^^
Your IP Address
Then you may have to modify the default routing table with command::
route add default eth0
Now your ethernet card should be up and running.
TODO:
- Implement pci_driver::suspend() and pci_driver::resume() power management methods.
- Check on 64 bit boxes.
- Check and fix on big endian boxes.
- Test and make sure PCI latency is now correct for all cases.
Authors:
Sten Wang <[email protected] > : Original Author
Contributors:
- Marcelo Tosatti <[email protected]>
- Alan Cox <[email protected]>
- Jeff Garzik <[email protected]>
- Vojtech Pavlik <[email protected]>
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
드라이버 상태와 라이선스
1-20Linux용 Davicom DM9102(A)/DM9132/DM9801 Fast Ethernet 드라이버
참고: 이 드라이버에는 관리자가 없습니다.
이 프로그램은 자유 소프트웨어입니다. Free Software Foundation이 공표한 GNU General Public License 버전 2 또는 사용자의 선택에 따라 그 이후 버전의 조건으로 재배포하거나 수정할 수 있습니다.
이 프로그램은 유용하기를 바라며 배포하지만 어떠한 보증도 제공하지 않습니다. 상품성 또는 특정 목적 적합성에 대한 묵시적 보증도 없습니다. 자세한 내용은 GNU General Public License를 참조하십시오.
.. SPDX-License-Identifier: GPL-2.0
==============================================================
Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux
==============================================================
Note: This driver doesn't have a maintainer.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
드라이버 적재와 네트워크 구성
21-53이 드라이버는 Davicom DM9102(A), DM9132, DM9801 이더넷 카드에 커널 지원을 제공합니다. CNET 10/100 이더넷 카드도 Davicom 칩셋을 사용하므로 이 드라이버가 지원합니다.
드라이버를 모듈로 컴파일하지 않았다면 부팅할 때 자동으로 올라오며 다음과 비슷한 메시지를 출력합니다.
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
드라이버를 모듈로 컴파일했다면 부팅할 때 직접 적재해야 합니다. 다음 명령을 사용합니다.
insmod dmfe
이 방식은 장치 모드를 자동 감지하며 모듈을 적재하는 권장 방법입니다. 필요하면 적재할 때 `mode=` 설정을 전달해 모드를 강제할 수도 있습니다.
insmod dmfe mode=0 # 10M Half Duplex 강제
insmod dmfe mode=1 # 100M Half Duplex 강제
insmod dmfe mode=4 # 10M Full Duplex 강제
insmod dmfe mode=5 # 100M Full Duplex 강제
다음으로 아래와 비슷한 명령을 사용해 네트워크 인터페이스를 구성합니다.
ifconfig eth0 172.22.3.18
^^^^^^^^^^^
사용자의 IP 주소
그런 다음 다음 명령으로 기본 라우팅 테이블을 수정해야 할 수 있습니다.
route add default eth0
이제 이더넷 카드를 사용할 수 있어야 합니다.
This driver provides kernel support for Davicom DM9102(A)/DM9132/DM9801 ethernet cards ( CNET
10/100 ethernet cards uses Davicom chipset too, so this driver supports CNET cards too ).If you
didn't compile this driver as a module, it will automatically load itself on boot and print a
line similar to::
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
If you compiled this driver as a module, you have to load it on boot.You can load it with command::
insmod dmfe
This way it will autodetect the device mode.This is the suggested way to load the module.Or you can pass
a mode= setting to module while loading, like::
insmod dmfe mode=0 # Force 10M Half Duplex
insmod dmfe mode=1 # Force 100M Half Duplex
insmod dmfe mode=4 # Force 10M Full Duplex
insmod dmfe mode=5 # Force 100M Full Duplex
Next you should configure your network interface with a command similar to::
ifconfig eth0 172.22.3.18
^^^^^^^^^^^
Your IP Address
Then you may have to modify the default routing table with command::
route add default eth0
Now your ethernet card should be up and running.
남은 작업, 저자와 기여자
54-71TODO
- `pci_driver::suspend()`와 `pci_driver::resume()` 전원 관리 메서드 구현
- 64비트 시스템에서 확인
- 빅 엔디언 시스템에서 확인하고 수정
- 모든 경우에 PCI latency가 올바른지 시험하고 확인
저자
Sten Wang <[email protected]>: 최초 저자
기여자
- Marcelo Tosatti <[email protected]>
- Alan Cox <[email protected]>
- Jeff Garzik <[email protected]>
- Vojtech Pavlik <[email protected]>
TODO:
- Implement pci_driver::suspend() and pci_driver::resume() power management methods.
- Check on 64 bit boxes.
- Check and fix on big endian boxes.
- Test and make sure PCI latency is now correct for all cases.
Authors:
Sten Wang <[email protected] > : Original Author
Contributors:
- Marcelo Tosatti <[email protected]>
- Alan Cox <[email protected]>
- Jeff Garzik <[email protected]>
- Vojtech Pavlik <[email protected]>
요약·해설
dmfe.rst:1-71이 문서는 2002년 드라이버 사용법을 담은 역사적 자료입니다. `insmod`, `ifconfig`, `route`를 직접 사용하는 절차와 미구현 전원 관리가 기록되어 있으므로 현대 배포판의 실제 설정은 현재 네트워크 관리 도구와 드라이버 상태를 우선해야 합니다.
Davicom 칩과 이를 사용한 CNET 카드가 대상입니다.
커널 내장 여부에 따라 자동 또는 수동으로 시작합니다.
`mode=` 값이 속도와 duplex 조합을 선택합니다.
인터페이스 주소를 지정한 뒤 기본 경로를 추가합니다.
원문이 명시한 미완료 검증과 구현입니다.
원문의 명령과 정보를 현대 환경에서 해석하는 기준입니다.