public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ni, Ruiyu" <ruiyu.ni@intel.com>
To: "Zeng, Star" <star.zeng@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: Alexei Fedorov <Alexei.Fedorov@arm.com>,
	"Zeng, Star" <star.zeng@intel.com>
Subject: Re: [PATCH] MdeModulePkg Xhci: Correct description of Timeout param in XhciReg.h
Date: Fri, 8 Sep 2017 09:08:04 +0000	[thread overview]
Message-ID: <734D49CCEBEEF84792F5B80ED585239D5BA286C8@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <1504782795-51684-1-git-send-email-star.zeng@intel.com>

Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

Thanks/Ray

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Star Zeng
> Sent: Thursday, September 7, 2017 7:13 PM
> To: edk2-devel@lists.01.org
> Cc: Alexei Fedorov <Alexei.Fedorov@arm.com>; Ni, Ruiyu
> <ruiyu.ni@intel.com>; Zeng, Star <star.zeng@intel.com>
> Subject: [edk2] [PATCH] MdeModulePkg Xhci: Correct description of Timeout
> param in XhciReg.h
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=653
> 
> Correct description of Timeout param in XhciReg.h to be matched with
> XhciReg.c.
> 
> Cc: Alexei Fedorov <Alexei.Fedorov@arm.com>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Star Zeng <star.zeng@intel.com>
> ---
>  MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h | 10 +++++-----
> MdeModulePkg/Bus/Pci/XhciPei/XhciReg.h |  4 ++--
>  2 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h
> b/MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h
> index b748c8d39739..838a44628c27 100644
> --- a/MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h
> +++ b/MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h
> @@ -2,7 +2,7 @@
> 
>    This file contains the register definition of XHCI host controller.
> 
> -Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
> +Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.<BR>
>  This program and the accompanying materials  are licensed and made
> available under the terms and conditions of the BSD License  which
> accompanies this distribution.  The full text of the license may be found at
> @@ -399,7 +399,7 @@ XhcClearOpRegBit (
>    @param  Offset       The offset of the operational register.
>    @param  Bit          The bit of the register to wait for.
>    @param  WaitToSet    Wait the bit to set or clear.
> -  @param  Timeout      The time to wait before abort (in microsecond, us).
> +  @param  Timeout      The time to wait before abort (in millisecond, ms).
> 
>    @retval EFI_SUCCESS  The bit successfully changed by host controller.
>    @retval EFI_TIMEOUT  The time out occurred.
> @@ -521,7 +521,7 @@ XhcIsSysError (
>    Reset the XHCI host controller.
> 
>    @param  Xhc          The XHCI Instance.
> -  @param  Timeout      Time to wait before abort (in microsecond, us).
> +  @param  Timeout      Time to wait before abort (in millisecond, ms).
> 
>    @retval EFI_SUCCESS  The XHCI host controller is reset.
>    @return Others       Failed to reset the XHCI before Timeout.
> @@ -537,7 +537,7 @@ XhcResetHC (
>    Halt the XHCI host controller.
> 
>    @param  Xhc          The XHCI Instance.
> -  @param  Timeout      Time to wait before abort (in microsecond, us).
> +  @param  Timeout      Time to wait before abort (in millisecond, ms).
> 
>    @return EFI_SUCCESS  The XHCI host controller is halt.
>    @return EFI_TIMEOUT  Failed to halt the XHCI before Timeout.
> @@ -553,7 +553,7 @@ XhcHaltHC (
>    Set the XHCI host controller to run.
> 
>    @param  Xhc          The XHCI Instance.
> -  @param  Timeout      Time to wait before abort (in microsecond, us).
> +  @param  Timeout      Time to wait before abort (in millisecond, ms).
> 
>    @return EFI_SUCCESS  The XHCI host controller is running.
>    @return EFI_TIMEOUT  Failed to set the XHCI to run before Timeout.
> diff --git a/MdeModulePkg/Bus/Pci/XhciPei/XhciReg.h
> b/MdeModulePkg/Bus/Pci/XhciPei/XhciReg.h
> index 1a6256066599..0297072ffd6b 100644
> --- a/MdeModulePkg/Bus/Pci/XhciPei/XhciReg.h
> +++ b/MdeModulePkg/Bus/Pci/XhciPei/XhciReg.h
> @@ -1,7 +1,7 @@
>  /** @file
>  Private Header file for Usb Host Controller PEIM
> 
> -Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
> +Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.<BR>
> 
>  This program and the accompanying materials  are licensed and made
> available under the terms and conditions @@ -287,7 +287,7 @@
> XhcPeiClearOpRegBit (
>    @param  Offset        The offset of the operational register.
>    @param  Bit           The bit of the register to wait for.
>    @param  WaitToSet     Wait the bit to set or clear.
> -  @param  Timeout       The time to wait before abort (in microsecond, us).
> +  @param  Timeout       The time to wait before abort (in millisecond, ms).
> 
>    @retval EFI_SUCCESS   The bit successfully changed by host controller.
>    @retval EFI_TIMEOUT   The time out occurred.
> --
> 2.7.0.windows.1
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


      reply	other threads:[~2017-09-08  9:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-07 11:13 [PATCH] MdeModulePkg Xhci: Correct description of Timeout param in XhciReg.h Star Zeng
2017-09-08  9:08 ` Ni, Ruiyu [this message]

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-list 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=734D49CCEBEEF84792F5B80ED585239D5BA286C8@SHSMSX104.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /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