docs/zh_CN: add Chinese translation for usb/ohci.rst
Subsystems (2)
PATCH v4 1/1 docs/zh_CN: add Chinese translation for usb/ohci.rst
From: Jiaming Ouyang <[email protected]>
Translate Documentation/usb/ohci.rst into Chinese Simplified.
The translation covers OHCI driver overview, hardware protocol differences (OHCI vs UHCI), improvements since 2.4 kernel, queueable interrupt transfers, and non-PCI support.
---
Changes in v4:
- Replaced spelling problem.
- In your cited discussion [1](https://lore.kernel.org/linux-doc/[email protected]/), I still would like to keep ':翻译:' line.
--- .../translations/zh_CN/usb/index.rst | 2 +- Documentation/translations/zh_CN/usb/ohci.rst | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 Documentation/translations/zh_CN/usb/ohci.rst
Documentation/translations/zh_CN/usb/index.rst +1 -1
@@ -32,6 +32,7 @@ USB 支持 chipidea dwc3 ehci + ohci usbmon 待翻译文档:
@@ -49,7 +50,6 @@ USB 支持 * mass-storage * misc_usbsevseg * mtouchusb -* ohci * raw-gadget * usbip_protocol * usb-serial
Documentation/translations/zh_CN/usb/ohci.rst new file +38 -0
@@ -0,0 +1,38 @@ +.. SPDX-License-Identifier: GPL-2.0 + +:Original: Documentation/usb/ohci.rst + +:翻译: 欧阳家铭 Jiaming Ouyang <[email protected]> + +======== +OHCI驱动 +======== + +2002年8月23日 + +“OHCI-HCD”驱动程序是一个USB主机控制器程序(HCD),它源自2.4内核系列中的“usb-ohci” +驱动程序。“usb-ohci”代码主要由 Roman Weissgaerber <[email protected]>编写但也获 +得了来自David Brownell <[email protected]>,Linus Torvalds +和Gregory P. Smith的支持。 + +它支持“开放主机控制器接口”(OHCI),该接口标准化了用于与USB 1.1主机控制器通信的 +硬件寄存器协议。“与英特尔早期的“通用主机控制器接口”(UHCI)相比,它将更多智能功能 +注入到硬件中。除英特尔和威盛之外的其他供应商的USB1.1控制器通常使用OHCI。 + +自2.4内核以来的更改包括 + + - 提高了健壮性; 修复了错误; 减少了开销 + - 支持更新和简化的usbcore API + - 中断传输可以更大,并且可以排队 + - 通过使用上层“hcd”框架,减少代码量 + - 支持一些非PCI的OHCI实现 + - ... 以及更多 + +“OHCI-hcd”驱动程序处理所有USB 1.1传输类型。所有类型的传输都可以排队。在“usb-ohci” +中也是如此,但中断传输除外。以前,使用一帧的周期会因为IRQ处理的开销而导致数据丢 +失的风险。当中断传输排队时,可以通过确保硬件在操作系统处理相关IRQ时始终有传输需要 +处理,来最大限度的降低这些风险。 + +- David Brownell + <[email protected]> +
Signature · 1 line
2.53.0
Dongliang Mu
reviewerQuoted 7 lines · On 10/28/26 3:26 PM, [email protected] wrote:
From: Jiaming Ouyang <[email protected]>
Translate
Documentation/usb/ohci.rstinto Chinese Simplified.The translation covers OHCI driver overview, hardware protocol differences (OHCI vs UHCI), improvements since 2.4 kernel, queueable interrupt transfers, and non-PCI support.
Please refer to our how-to.rst about how to write a commit message for translation update.
Quoted 7 lines
Signed-off-by Jiaming Ouyang <[email protected]>---
Changes in v4:
- Replaced spelling problem.
- In your cited discussion [1](https://lore.kernel.org/linux-doc/[email protected]/), I still would like to keep ':翻译:' line.
That patchset is still in discussion. You can follow our current translation convention. However, please keep all your changelog in the patch.
Quoted 32 lines
--- .../translations/zh_CN/usb/index.rst | 2 +- Documentation/translations/zh_CN/usb/ohci.rst | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-)create mode 100644
Documentation/translations/zh_CN/usb/ohci.rstDocumentation/translations/zh_CN/usb/index.rst +1
-1@@ -32,6 +32,7 @@ USB 支持 chipidea dwc3 ehci + ohci usbmon 待翻译文档:@@ -49,7 +50,6 @@ USB 支持 * mass-storage * misc_usbsevseg * mtouchusb -* ohci * raw-gadget * usbip_protocol * usb-serialDocumentation/translations/zh_CN/usb/ohci.rst new file +0
-0
Documentation/translations/zh_CN/usb/ohci.rst line 1
Quoted 1 line
Documentation/translations/zh_CN/usb/ohci.rst new file +1
-0@@ -0,0 +1,38 @@ +.. SPDX-License-Identifier: GPL-2.0
Please add the zh_CN disclaimer.
Quoted 5 lines
Documentation/translations/zh_CN/usb/ohci.rst new file +5
-0+ +:Original: Documentation/usb/ohci.rst + +:翻译: 欧阳家铭 Jiaming Ouyang <[email protected]> +
Documentation/translations/zh_CN/usb/ohci.rst line 16
Quoted 10 lines
Documentation/translations/zh_CN/usb/ohci.rst new file +10
-0+======== +OHCI驱动 +======== + +2002年8月23日 + +“OHCI-HCD”驱动程序是一个USB主机控制器程序(HCD),它源自2.4内核系列中的“usb-ohci” +驱动程序。“usb-ohci”代码主要由 Roman Weissgaerber <[email protected]>编写但也获 +得了来自David Brownell <[email protected]>,Linus Torvalds +和Gregory P. Smith的支持。
The above seems not the correct translation for the original English.
|The "usb-ohci" code was written primarily by Roman Weissgaerber <[email protected]> but with contributions from many others (read its copyright/licencing header). |
Documentation/translations/zh_CN/usb/ohci.rst line 19
Quoted 3 lines
Documentation/translations/zh_CN/usb/ohci.rst new file +3
-0+ +它支持“开放主机控制器接口”(OHCI),该接口标准化了用于与USB 1.1主机控制器通信的 +硬件寄存器协议。“与英特尔早期的“通用主机控制器接口”(UHCI)相比,它将更多智能功能
One more “ before 与英特尔
Quoted 9 lines
Documentation/translations/zh_CN/usb/ohci.rst new file +9
-0+注入到硬件中。除英特尔和威盛之外的其他供应商的USB1.1控制器通常使用OHCI。 + +自2.4内核以来的更改包括 + + - 提高了健壮性; 修复了错误; 减少了开销 + - 支持更新和简化的usbcore API + - 中断传输可以更大,并且可以排队 + - 通过使用上层“hcd”框架,减少代码量 + - 支持一些非PCI的OHCI实现
Documentation/translations/zh_CN/usb/ohci.rst line 38
Quoted 10 lines
Documentation/translations/zh_CN/usb/ohci.rst new file +10
-0+ - ... 以及更多 + +“OHCI-hcd”驱动程序处理所有USB 1.1传输类型。所有类型的传输都可以排队。在“usb-ohci” +中也是如此,但中断传输除外。以前,使用一帧的周期会因为IRQ处理的开销而导致数据丢 +失的风险。当中断传输排队时,可以通过确保硬件在操作系统处理相关IRQ时始终有传输需要 +处理,来最大限度的降低这些风险。 + +- David Brownell + <[email protected]> +
Finally, you have an extra blank line at EOF.
Dongliang Mu