linux-mips
[Top] [All Lists]

Re: [PATCH 04/10] bcm63xx: limit number of usb port to 1.

To: Maxime Bizon <mbizon@freebox.fr>
Subject: Re: [PATCH 04/10] bcm63xx: limit number of usb port to 1.
From: Florian Fainelli <florian@openwrt.org>
Date: Mon, 1 Jun 2009 20:10:21 +0200
Cc: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=AccaS+fTlj6++G5XmP1ONYqiJmjbGt6kDwo8vc9Dqmc=; b=K6XhOq0nSzPSlEnvntDnn6g5mOAKbDIJiNvQE326OdcphRC1hjKs5cqhXmwN7CwUzB H+IFRruGHzg48MBkfwM2ijkj7NpAAiOjqAChvfM8kaBRADiI3oot3WLinnaV+LK3AXSG 97ISpYSMmlTKhRfDKaTLD2hJ93uw8bl5aZ+TE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=rPs3O6Q//js3re5mG6izmt9KogN2YxMHScDhRPb4dPnCyyz2GcWBl6lqQRXB6bRyV5 dH9zxtVgO0Y6ApFLDlIxYqgiBAYVg0pDiAL9BGXQ/wqBhqrkqcPNZTWrH81JXTrpEL+X 3ZV6NmLg6xm1DOTpRkGD/IkxzuZvxoiMo7ZSY=
In-reply-to: <1243876918-9905-5-git-send-email-mbizon@freebox.fr>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1243876918-9905-1-git-send-email-mbizon@freebox.fr> <1243876918-9905-5-git-send-email-mbizon@freebox.fr>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.9
Le Monday 01 June 2009 19:21:52 Maxime Bizon, vous avez écrit :
> This patch disables the use of more than one USB port. Hardware has
> two ports, but one may be shared with USB slave port.
>
> Until we have this information in the platform data, don't use the
> second port.
>
> Signed-off-by: Maxime Bizon <mbizon@freebox.fr>

Acked-by: Florian Fainelli <florian@openwrt.org>

> ---
>  drivers/usb/host/ohci-bcm63xx.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/usb/host/ohci-bcm63xx.c
> b/drivers/usb/host/ohci-bcm63xx.c index 08807d9..74f432f 100644
> --- a/drivers/usb/host/ohci-bcm63xx.c
> +++ b/drivers/usb/host/ohci-bcm63xx.c
> @@ -20,6 +20,8 @@ static int __devinit ohci_bcm63xx_start(struct usb_hcd
> *hcd) struct ohci_hcd *ohci = hcd_to_ohci(hcd);
>       int ret;
>
> +     ohci->num_ports = 1;
> +
>       ret = ohci_init(ohci);
>       if (ret < 0)
>               return ret;



-- 
Best regards, Florian Fainelli
Email : florian@openwrt.org
http://openwrt.org
-------------------------------

<Prev in Thread] Current Thread [Next in Thread>