linux-mips
[Top] [All Lists]

Re: usb hotplug function with linux mips kernel

To: Yoichi Yuasa <yoichi_yuasa@montavista.co.jp>
Subject: Re: usb hotplug function with linux mips kernel
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 21 Nov 2002 16:37:39 +0100
Cc: kevin@gv.com.tw, jsun@mvista.com, linux-mips@linux-mips.org, ppopov@mvista.com
In-reply-to: <20021120114930.117a78bb.yoichi_yuasa@montavista.co.jp>; from yoichi_yuasa@montavista.co.jp on Wed, Nov 20, 2002 at 11:49:30AM +0900
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20021118144212.A12262@linux-mips.org> <00a901c28fc4$76ace700$df0210ac@gv.com.tw> <20021119132922.A15266@linux-mips.org> <20021119095444.C18134@mvista.com> <1037729027.17678.112.camel@zeus.mvista.com> <20021120114930.117a78bb.yoichi_yuasa@montavista.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Wed, Nov 20, 2002 at 11:49:30AM +0900, Yoichi Yuasa wrote:

> --- linux.orig/drivers/usb/hub.c      Thu Sep 12 13:09:25 2002
> +++ linux/drivers/usb/hub.c   Wed Nov 20 11:43:34 2002
> @@ -698,12 +698,6 @@
>               return;
>       }
>  
> -     if (usb_hub_port_debounce(hub, port)) {
> -             err("connect-debounce failed, port %d disabled", port+1);
> -             usb_hub_port_disable(hub, port);
> -             return;
> -     }
> -
>       down(&usb_address0_sem);
>  
>       tempstr = kmalloc(1024, GFP_KERNEL);

Looks like a total hack, don't expect me to apply this ...

  Ralf

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