qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw/usb/hcd-ohci: Fix typo
@ 2023-02-01 12:15 Philippe Mathieu-Daudé
  2023-02-01 13:23 ` BALATON Zoltan
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-02-01 12:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann, qemu-trivial, Philippe Mathieu-Daudé

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 hw/usb/hcd-ohci.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c
index 9d68036d23..bd8b9d50e5 100644
--- a/hw/usb/hcd-ohci.c
+++ b/hw/usb/hcd-ohci.c
@@ -58,7 +58,7 @@ struct ohci_hcca {
 #define ED_WBACK_OFFSET offsetof(struct ohci_ed, head)
 #define ED_WBACK_SIZE   4
 
-/* Bitfields for the first word of an Endpoint Desciptor.  */
+/* Bitfields for the first word of an Endpoint Descriptor.  */
 #define OHCI_ED_FA_SHIFT  0
 #define OHCI_ED_FA_MASK   (0x7f<<OHCI_ED_FA_SHIFT)
 #define OHCI_ED_EN_SHIFT  7
@@ -71,11 +71,11 @@ struct ohci_hcca {
 #define OHCI_ED_MPS_SHIFT 16
 #define OHCI_ED_MPS_MASK  (0x7ff<<OHCI_ED_MPS_SHIFT)
 
-/* Flags in the head field of an Endpoint Desciptor.  */
+/* Flags in the head field of an Endpoint Descriptor.  */
 #define OHCI_ED_H         1
 #define OHCI_ED_C         2
 
-/* Bitfields for the first word of a Transfer Desciptor.  */
+/* Bitfields for the first word of a Transfer Descriptor.  */
 #define OHCI_TD_R         (1<<18)
 #define OHCI_TD_DP_SHIFT  19
 #define OHCI_TD_DP_MASK   (3<<OHCI_TD_DP_SHIFT)
@@ -88,14 +88,14 @@ struct ohci_hcca {
 #define OHCI_TD_CC_SHIFT  28
 #define OHCI_TD_CC_MASK   (0xf<<OHCI_TD_CC_SHIFT)
 
-/* Bitfields for the first word of an Isochronous Transfer Desciptor.  */
-/* CC & DI - same as in the General Transfer Desciptor */
+/* Bitfields for the first word of an Isochronous Transfer Descriptor.  */
+/* CC & DI - same as in the General Transfer Descriptor */
 #define OHCI_TD_SF_SHIFT  0
 #define OHCI_TD_SF_MASK   (0xffff<<OHCI_TD_SF_SHIFT)
 #define OHCI_TD_FC_SHIFT  24
 #define OHCI_TD_FC_MASK   (7<<OHCI_TD_FC_SHIFT)
 
-/* Isochronous Transfer Desciptor - Offset / PacketStatusWord */
+/* Isochronous Transfer Descriptor - Offset / PacketStatusWord */
 #define OHCI_TD_PSW_CC_SHIFT 12
 #define OHCI_TD_PSW_CC_MASK  (0xf<<OHCI_TD_PSW_CC_SHIFT)
 #define OHCI_TD_PSW_SIZE_SHIFT 0
-- 
2.38.1



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

* Re: [PATCH] hw/usb/hcd-ohci: Fix typo
  2023-02-01 12:15 [PATCH] hw/usb/hcd-ohci: Fix typo Philippe Mathieu-Daudé
@ 2023-02-01 13:23 ` BALATON Zoltan
  0 siblings, 0 replies; 2+ messages in thread
From: BALATON Zoltan @ 2023-02-01 13:23 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: qemu-devel, Gerd Hoffmann, qemu-trivial

[-- Attachment #1: Type: text/plain, Size: 2566 bytes --]

On Wed, 1 Feb 2023, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

I've submitted a series to clean this device up a bit which changed these 
comments to remove the extre space from the end. Maybe this patch should 
be rebased on that series so I don't have to rebase ir as this one is a 
simple search/replace so could come after that series too. Hope Gerd is 
getting these and can eventually pick these up. I'm starting to get lost 
between branches and outstanding patches in my tree.

Regards,
BALATON Zoltan

> ---
> hw/usb/hcd-ohci.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c
> index 9d68036d23..bd8b9d50e5 100644
> --- a/hw/usb/hcd-ohci.c
> +++ b/hw/usb/hcd-ohci.c
> @@ -58,7 +58,7 @@ struct ohci_hcca {
> #define ED_WBACK_OFFSET offsetof(struct ohci_ed, head)
> #define ED_WBACK_SIZE   4
>
> -/* Bitfields for the first word of an Endpoint Desciptor.  */
> +/* Bitfields for the first word of an Endpoint Descriptor.  */
> #define OHCI_ED_FA_SHIFT  0
> #define OHCI_ED_FA_MASK   (0x7f<<OHCI_ED_FA_SHIFT)
> #define OHCI_ED_EN_SHIFT  7
> @@ -71,11 +71,11 @@ struct ohci_hcca {
> #define OHCI_ED_MPS_SHIFT 16
> #define OHCI_ED_MPS_MASK  (0x7ff<<OHCI_ED_MPS_SHIFT)
>
> -/* Flags in the head field of an Endpoint Desciptor.  */
> +/* Flags in the head field of an Endpoint Descriptor.  */
> #define OHCI_ED_H         1
> #define OHCI_ED_C         2
>
> -/* Bitfields for the first word of a Transfer Desciptor.  */
> +/* Bitfields for the first word of a Transfer Descriptor.  */
> #define OHCI_TD_R         (1<<18)
> #define OHCI_TD_DP_SHIFT  19
> #define OHCI_TD_DP_MASK   (3<<OHCI_TD_DP_SHIFT)
> @@ -88,14 +88,14 @@ struct ohci_hcca {
> #define OHCI_TD_CC_SHIFT  28
> #define OHCI_TD_CC_MASK   (0xf<<OHCI_TD_CC_SHIFT)
>
> -/* Bitfields for the first word of an Isochronous Transfer Desciptor.  */
> -/* CC & DI - same as in the General Transfer Desciptor */
> +/* Bitfields for the first word of an Isochronous Transfer Descriptor.  */
> +/* CC & DI - same as in the General Transfer Descriptor */
> #define OHCI_TD_SF_SHIFT  0
> #define OHCI_TD_SF_MASK   (0xffff<<OHCI_TD_SF_SHIFT)
> #define OHCI_TD_FC_SHIFT  24
> #define OHCI_TD_FC_MASK   (7<<OHCI_TD_FC_SHIFT)
>
> -/* Isochronous Transfer Desciptor - Offset / PacketStatusWord */
> +/* Isochronous Transfer Descriptor - Offset / PacketStatusWord */
> #define OHCI_TD_PSW_CC_SHIFT 12
> #define OHCI_TD_PSW_CC_MASK  (0xf<<OHCI_TD_PSW_CC_SHIFT)
> #define OHCI_TD_PSW_SIZE_SHIFT 0
>

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

end of thread, other threads:[~2023-02-01 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-01 12:15 [PATCH] hw/usb/hcd-ohci: Fix typo Philippe Mathieu-Daudé
2023-02-01 13:23 ` BALATON Zoltan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).