Linux Documentation
 help / color / mirror / Atom feed
From: Dongliang Mu <dzm91@hust.edu.cn>
To: Jiaming Ouyang <jiamingouyang13@gmail.com>, linux-kernel@vger.kernel.org
Cc: linux-doc@vger.kernel.org, alexs@kernel.org, corbet@lwn.net,
	skhan@linuxfoundation.org, si.yanteng@linux.dev,
	rdunlap@infradead.org,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
Subject: Re: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
Date: Fri, 25 Sep 2026 20:33:11 +0800	[thread overview]
Message-ID: <cfc9cb8d-d13a-4dd6-809c-1ecf3bc9c758@hust.edu.cn> (raw)
In-Reply-To: <CAMnqnYyO98AEDOHfm32Cb4uGBDucLiZ8gKZ5S+jVf3DDCoFA5w@mail.gmail.com>


On 9/25/26 6:57 PM, Jiaming Ouyang wrote:
> Subject: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
>
> 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.

The git apply --check failed in my local workspace. And there are some 
translation issues below.

Dongliang Mu

> Signed-off-by: Jiaming Ouyang <jiamingouyang13@gmail.com>
> ---
>   .../translations/zh_CN/usb/index.rst          |  2 +-
>   Documentation/translations/zh_CN/usb/ohci.rst | 37 +++++++++++++++++++
>   2 files changed, 38 insertions(+), 1 deletion(-)
>   create mode 100644 Documentation/translations/zh_CN/usb/ohci.rst
>
> diff --git a/Documentation/translations/zh_CN/usb/index.rst
> b/Documentation/translations/zh_CN/usb/index.rst
> index df99814c6497..c96eacf13e11 100644
> --- a/Documentation/translations/zh_CN/usb/index.rst
> +++ b/Documentation/translations/zh_CN/usb/index.rst
> @@ -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
> diff --git a/Documentation/translations/zh_CN/usb/ohci.rst
> b/Documentation/translations/zh_CN/usb/ohci.rst
> new file mode 100644
> index 000000000000..8469f5659f8d
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/usb/ohci.rst
> @@ -0,0 +1,37 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +
> +:Original: Documentation/usb/ohci.rst
> +
> +:翻译: 欧阳家铭 Jiaming Ouyang <jiamingouyang13@gmail.com>
> +
> +========
> +OHCI驱动
> +========
> +
> +2026年9月7日
Do not modify the date - "23-Aug-2002"
> +
> +“OHCI-HCD”驱动程序是一个USB主机控制器程序(HCD),它源自2.4内核系列中的“usb-oh
> +ci”驱动程序。“usb-ohci”代码主要由 Romen Weissgaerber <weissg@vienna.at>编写

Do not separate usb-ohci into two lines.

Romen -> Roman

> +但也获得了许多其他人的贡献(请阅读其版权)。

read its copyright/licencing header

Re-translate this part.

> +
> +它支持“开放主机控制器接口”(OHCI),该接口标准化了用于与USB 1.1主机控制器通信的
> +硬件寄存器协议。“与英特尔早期的“通用主机控制器接口”(UHCI)相比,它将更多只能功能
只能功能?
> +注入到硬件中。除英特尔和威盛之外的其他供应商的USB1.1控制器通常使用OHCI。
> +
> +自2.4内核以来的更改包括
> +
> +         - 提高了健壮性; 修复了错误; 减少了开销
> +         - 支持更新和简化的usbcore API
> +         - 中断传输可以更大,并且可以排队
> +         - 通过使用上层“hcd”框架,减少代码量
> +         - 支持一些非PCI的OHCI实现
> +         - ... 以及更多
> +
> +“OHCI-hcd”驱动程序处理所有USB 1.1传输类型。所有类型的传输都可以排队。在“usb-ohc
> +i”中也是如此,但中断传输除外。以前,使用一帧的周期会因为IRQ处理的开销而导致数据丢
Do not separate usb-ohci into two lines.
> +失的风险。当中断传输排队时,可以通过确保硬件在操作系统处理相关IRQ时始终有传输需要
> +处理,来最大限度的降低这些风险。
> +
> +- David Brownell
> +  <dbrownell@users.sourceforge.net>
> +


  reply	other threads:[~2026-09-25 12:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-25 10:57 [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst Jiaming Ouyang
2026-09-25 12:33 ` Dongliang Mu [this message]
2026-09-25 15:28   ` Jiaming Ouyang
2026-09-26  7:13     ` gregkh
2026-09-26 10:10       ` Jiaming Ouyang
2026-09-26 10:18         ` gregkh
2026-09-26 11:04         ` Weijie Yuan
2026-09-26 11:27       ` Weijie Yuan
2026-09-26 15:26         ` Jiaming Ouyang
2026-09-27 16:45           ` gregkh
  -- strict thread matches above, loose matches on Subject: below --
2026-09-09  6:54 Jiaming Ouyang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cfc9cb8d-d13a-4dd6-809c-1ecf3bc9c758@hust.edu.cn \
    --to=dzm91@hust.edu.cn \
    --cc=alexs@kernel.org \
    --cc=corbet@lwn.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=jiamingouyang13@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=si.yanteng@linux.dev \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox