Re: [RESEND] [PATCH 2/2] ipaq.c timing parameters

From: Andrew Morton
Date: Tue Jun 20 2006 - 02:53:32 EST


On Mon, 19 Jun 2006 10:46:19 +0200
Frank Gevaerts <frank.gevaerts@xxxxxx> wrote:

> Adds configurable waiting periods to the ipaq connection code. These are
> not needed when the pocketpc device is running normally when plugged in,
> but they need extra delays if they are physically connected while
> rebooting.
> There are two parameters :
> * initial_wait : this is the delay before the driver attemts to start the
> connection. This is needed because the pocktpc device takes much
> longer to boot if the driver starts sending control packets too soon.
> * connect_retries : this is the number of times the control urb is
> retried before finally giving up. The patch also adds a 1 second delay
> between retries.
> I'm not sure if the cases where this patch is useful are general enough
> to include this in the kernel.
>
> ..
>
> +module_param(connect_retries, int, S_IRUGO|S_IWUSR);
> +MODULE_PARM_DESC(connect_retries, "Maximum number of connect retries (100ms each)");

1000ms, methinks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/