public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] USB-CDC: add missing variable in ether.c
Date: Thu, 12 Aug 2010 20:54:25 +0400	[thread overview]
Message-ID: <4C642741.8010602@mvista.com> (raw)
In-Reply-To: <1281562838-6511-1-git-send-email-sbabic@denx.de>

Hello.

Stefano Babic wrote:

> qmult was not defined if OTG dualspeed is set.

> Signed-off-by: Stefano Babic <sbabic@denx.de>
> ---
>  drivers/usb/gadget/ether.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

> diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
> index e0ebf75..313f15f 100644
> --- a/drivers/usb/gadget/ether.c
> +++ b/drivers/usb/gadget/ether.c
> @@ -144,6 +144,8 @@ static inline int is_cdc(struct eth_dev *dev)
>  #ifdef CONFIG_USB_GADGET_DUALSPEED
>  #define	DEVSPEED	USB_SPEED_HIGH
>  
> +static unsigned qmult = 5;
> +
>  /* for dual-speed hardware, use deeper queues at highspeed */
>  #define qlen(gadget) \
>  	(DEFAULT_QLEN*((gadget->speed == USB_SPEED_HIGH) ? qmult : 1))

    Patch posted by Vitaly looks more complete:

http://lists.denx.de/pipermail/u-boot/2010-August/075412.html

WBR, Sergei

      reply	other threads:[~2010-08-12 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11 21:40 [U-Boot] [PATCH] USB-CDC: add missing variable in ether.c Stefano Babic
2010-08-12 16:54 ` Sergei Shtylyov [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-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=4C642741.8010602@mvista.com \
    --to=sshtylyov@mvista.com \
    --cc=u-boot@lists.denx.de \
    /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