| To: | linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 04/10] bcm63xx: limit number of usb port to 1. |
| From: | Maxime Bizon <mbizon@freebox.fr> |
| Date: | Mon, 1 Jun 2009 19:21:52 +0200 |
| Cc: | Florian Fainelli <florian@openwrt.org>, Maxime Bizon <mbizon@freebox.fr> |
| In-reply-to: | <1243876918-9905-1-git-send-email-mbizon@freebox.fr> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1243876918-9905-1-git-send-email-mbizon@freebox.fr> |
| Sender: | linux-mips-bounce@linux-mips.org |
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>
---
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] bcm63xx: remove duplicate init fields., Maxime Bizon |
|---|---|
| Next by Date: | [PATCH 03/10] bcm63xx: convert bcm63xx_enet to netdev ops., Maxime Bizon |
| Previous by Thread: | More updates to bcm63xx support (resend), Maxime Bizon |
| Next by Thread: | Re: [PATCH 04/10] bcm63xx: limit number of usb port to 1., Florian Fainelli |
| Indexes: | [Date] [Thread] [Top] [All Lists] |