mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
@ 2026-09-25 10:57 Jiaming Ouyang
  2026-09-25 12:33 ` Dongliang Mu
  0 siblings, 1 reply; 9+ messages in thread
From: Jiaming Ouyang @ 2026-09-25 10:57 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-doc, dzm91, alexs, corbet, skhan, si.yanteng, rdunlap, gregkh

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.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
  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
  2026-09-25 15:28   ` Jiaming Ouyang
  0 siblings, 1 reply; 9+ messages in thread
From: Dongliang Mu @ 2026-09-25 12:33 UTC (permalink / raw)
  To: Jiaming Ouyang, linux-kernel
  Cc: linux-doc, alexs, corbet, skhan, si.yanteng, rdunlap, gregkh


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>
> +


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
  2026-09-25 12:33 ` Dongliang Mu
@ 2026-09-25 15:28   ` Jiaming Ouyang
  2026-09-26  7:13     ` gregkh
  0 siblings, 1 reply; 9+ messages in thread
From: Jiaming Ouyang @ 2026-09-25 15:28 UTC (permalink / raw)
  To: Dongliang Mu
  Cc: linux-kernel, linux-doc, alexs, corbet, skhan, si.yanteng,
	rdunlap, gregkh

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.

Signed-off-by: Jiaming Ouyang <jiamingouyang13@gmail.com>
---
I have modified according to your feedback


 Documentation/translations/zh_CN/usb/ohci.rst | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 Documentation/translations/zh_CN/usb/ohci.rst

diff --git a/Documentation/translations/zh_CN/usb/ohci.rst
b/Documentation/translations/zh_CN/usb/ohci.rst
new file mode 100644
index 000000000000..5e36831bf370
--- /dev/null
+++ b/Documentation/translations/zh_CN/usb/ohci.rst
@@ -0,0 +1,38 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+:Original: Documentation/usb/ohci.rst
+
+:翻译: 欧阳家铭 Jiaming Ouyang <jiamingouyang13@gmail.com>
+
+========
+OHCI驱动
+========
+
+2002年8月23日
+
+“OHCI-HCD”驱动程序是一个USB主机控制器程序(HCD),它源自2.4内核系列中的“usb-ohci”
+驱动程序。“usb-ohci”代码主要由 Roman Weissgaerber <weissg@vienna.at>编写但也获
+得了来自David Brownell <dbrownell@users.sourceforge.net>,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
+  <dbrownell@users.sourceforge.net>
+
--
2.53.0

On Fri, Sep 25, 2026 at 2:33 PM Dongliang Mu <dzm91@hust.edu.cn> wrote:
>
>
> 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>
> > +
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
  2026-09-25 15:28   ` Jiaming Ouyang
@ 2026-09-26  7:13     ` gregkh
  2026-09-26 10:10       ` Jiaming Ouyang
  2026-09-26 11:27       ` Weijie Yuan
  0 siblings, 2 replies; 9+ messages in thread
From: gregkh @ 2026-09-26  7:13 UTC (permalink / raw)
  To: Jiaming Ouyang
  Cc: Dongliang Mu, linux-kernel, linux-doc, alexs, corbet, skhan,
	si.yanteng, rdunlap

On Fri, Sep 25, 2026 at 05:28:47PM +0200, Jiaming Ouyang wrote:
> Subject: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst

This shouldn't be in the email body :(

> 
> 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.
> 
> Signed-off-by: Jiaming Ouyang <jiamingouyang13@gmail.com>
> ---
> I have modified according to your feedback

Please provide proper v2 information as the documentation asks.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
  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
  1 sibling, 2 replies; 9+ messages in thread
From: Jiaming Ouyang @ 2026-09-26 10:10 UTC (permalink / raw)
  To: gregkh
  Cc: Dongliang Mu, linux-kernel, linux-doc, alexs, corbet, skhan,
	si.yanteng, rdunlap

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.

---
Changes in v2:
- Correct the date
- Correct the layout
- Add specific details for it's contributors

---
Signed-off-by: Jiaming Ouyang <jiamingouyang13@gmail.com>
---
 Documentation/translations/zh_CN/usb/ohci.rst | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 Documentation/translations/zh_CN/usb/ohci.rst

diff --git a/Documentation/translations/zh_CN/usb/ohci.rst
b/Documentation/translations/zh_CN/usb/ohci.rst
new file mode 100644
index 000000000000..5e36831bf370
--- /dev/null
+++ b/Documentation/translations/zh_CN/usb/ohci.rst
@@ -0,0 +1,38 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+:Original: Documentation/usb/ohci.rst
+
+:翻译: 欧阳家铭 Jiaming Ouyang <jiamingouyang13@gmail.com>
+
+========
+OHCI驱动
+========
+
+2002年8月23日
+
+“OHCI-HCD”驱动程序是一个USB主机控制器程序(HCD),它源自2.4内核系列中的“usb-ohci”
+驱动程序。“usb-ohci”代码主要由 Roman Weissgaerber <weissg@vienna.at>编写但也获
+得了来自David Brownell <dbrownell@users.sourceforge.net>,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
+  <dbrownell@users.sourceforge.net>
+
-- 
2.53.0

On Sat, Sep 26, 2026 at 9:13 AM gregkh@linuxfoundation.org
<gregkh@linuxfoundation.org> wrote:
>
> On Fri, Sep 25, 2026 at 05:28:47PM +0200, Jiaming Ouyang wrote:
> > Subject: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
>
> This shouldn't be in the email body :(
>
> >
> > 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.
> >
> > Signed-off-by: Jiaming Ouyang <jiamingouyang13@gmail.com>
> > ---
> > I have modified according to your feedback
>
> Please provide proper v2 information as the documentation asks.
>
> thanks,
>
> greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
  2026-09-26 10:10       ` Jiaming Ouyang
@ 2026-09-26 10:18         ` gregkh
  2026-09-26 11:04         ` Weijie Yuan
  1 sibling, 0 replies; 9+ messages in thread
From: gregkh @ 2026-09-26 10:18 UTC (permalink / raw)
  To: Jiaming Ouyang
  Cc: Dongliang Mu, linux-kernel, linux-doc, alexs, corbet, skhan,
	si.yanteng, rdunlap

On Sat, Sep 26, 2026 at 12:10:16PM +0200, Jiaming Ouyang wrote:
> 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.
> 
> ---
> Changes in v2:
> - Correct the date
> - Correct the layout
> - Add specific details for it's contributors

This goes below :

> ---
> Signed-off-by: Jiaming Ouyang <jiamingouyang13@gmail.com>
> ---

Here.

Also your v2 should be in the subject line, right?  Again, take a look
at the in-kernel documentation, it should explain this.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
  2026-09-26 10:10       ` Jiaming Ouyang
  2026-09-26 10:18         ` gregkh
@ 2026-09-26 11:04         ` Weijie Yuan
  1 sibling, 0 replies; 9+ messages in thread
From: Weijie Yuan @ 2026-09-26 11:04 UTC (permalink / raw)
  To: Jiaming Ouyang
  Cc: gregkh, Dongliang Mu, linux-kernel, linux-doc, alexs, corbet,
	skhan, si.yanteng, rdunlap

On 2026-09-26 12:10:16 +0200, Jiaming Ouyang <jiamingouyang13@gmail.com> wrote:

> docs/zh_CN: add Chinese translation for usb/ohci.rst

Besides the comments from Greg, I think the line above should better
belong to the Subject: line in the email headers. But there, it is a part
of email body now, i.e. the line started with 'docs/zh_CN' will appear
twice in the same commit.

Thanks.

> 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 v2:
> - Correct the date
> - Correct the layout
> - Add specific details for it's contributors
> 
> ---
> Signed-off-by: Jiaming Ouyang <jiamingouyang13@gmail.com>
> ---

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
  2026-09-26  7:13     ` gregkh
  2026-09-26 10:10       ` Jiaming Ouyang
@ 2026-09-26 11:27       ` Weijie Yuan
  1 sibling, 0 replies; 9+ messages in thread
From: Weijie Yuan @ 2026-09-26 11:27 UTC (permalink / raw)
  To: gregkh
  Cc: Jiaming Ouyang, Dongliang Mu, linux-kernel, linux-doc, alexs,
	corbet, skhan, si.yanteng, rdunlap

Hi Greg,

On 2026-09-26 09:13:26 +0200, Greg KH <gregkh@linuxfoundation.org> wrote:

> On Fri, Sep 25, 2026 at 05:28:47PM +0200, Jiaming Ouyang wrote:
> > Subject: [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
> 
> This shouldn't be in the email body :(

Although this line of text is somewhat redundant, as it is the same as
the "Subject" line in the email header (git mailinfo would strip the
"Re: " by default), it is fine to leave it here.?

git.git/Documentation/git-am.adoc::[[discussion]]:

"From: ", "Date: ", and "Subject: " lines starting the body override the
respective commit author name and title values taken from the headers.

e.g. https://lore.kernel.org/git/xmqqms63ok7g.fsf@gitster.g/

But I guess you know all about this, just want to handle it here in a
simple way. ;-)

Thanks.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] docs/zh_CN: add Chinese translation for usb/ohci.rst
@ 2026-09-09  6:54 Jiaming Ouyang
  0 siblings, 0 replies; 9+ messages in thread
From: Jiaming Ouyang @ 2026-09-09  6:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-doc, corbet, dzm91, alexs, si.yanteng, skhan, rdunlap

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.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-09-26 11:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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
  -- strict thread matches above, loose matches on Subject: below --
2026-09-09  6:54 Jiaming Ouyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®