Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 01 Jun 2009 18:08:40 +0100 (WEST) Received: from sakura.staff.proxad.net ([213.228.1.107]:42534 "EHLO sakura.staff.proxad.net" rhost-flags-OK-OK-OK-OK) by ftp.linux-mips.org with ESMTP id S20025624AbZFARIY (ORCPT ); Mon, 1 Jun 2009 18:08:24 +0100 Received: by sakura.staff.proxad.net (Postfix, from userid 1000) id 66303112408D; Mon, 1 Jun 2009 19:08:15 +0200 (CEST) From: Maxime Bizon To: linux-mips@linux-mips.org, Ralf Baechle Cc: Florian Fainelli , Maxime Bizon Subject: [PATCH] bcm63xx: limit number of usb port to 1. Date: Mon, 1 Jun 2009 19:08:10 +0200 Message-Id: <1243876095-8987-5-git-send-email-mbizon@freebox.fr> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1243876095-8987-1-git-send-email-mbizon@freebox.fr> References: <1243876095-8987-1-git-send-email-mbizon@freebox.fr> Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 23120 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: mbizon@freebox.fr Precedence: bulk X-list: linux-mips 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 --- 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; -- 1.6.0.4