> From: Greg KH <[EMAIL PROTECTED]>
> Date: Tue, 9 Oct 2001 10:03:57 -0700

> diff -Naur -X dontdiff linux-2.4/drivers/usb/kaweth.c 
>linux-2.4-ac/drivers/usb/kaweth.c
> --- linux-2.4/drivers/usb/kaweth.c    Mon Sep 17 08:41:29 2001
> +++ linux-2.4-ac/drivers/usb/kaweth.c Wed Oct  3 10:12:45 2001
> @@ -949,12 +949,10 @@
> -        if (waitqueue_active(awd->wakeup)) {
> -                wake_up(awd->wakeup);
> +     awd->done=1;
> +     wake_up(&awd->wqh);

Obviously -ac is better, functionally. Strange tabulation, but oh well.

> --- linux-2.4/drivers/usb/usb.c       Tue Oct  9 09:46:58 2001
> +++ linux-2.4-ac/drivers/usb/usb.c    Tue Oct  9 09:47:49 2001
> @@ -1042,15 +1042,11 @@
> -     if (waitqueue_active(awd->wakeup))
> -             wake_up(awd->wakeup);
> +     awd->done = 1;
> +     wmb();
> +     wake_up(&awd->wqh);

Totally take it from -ac ASAP, and the rest of usb.c, too.
Well, almost - this change is not mine:

> +#ifdef CONFIG_USB_LONG_TIMEOUT
> +#define GET_TIMEOUT 4
> +#else
>  #define GET_TIMEOUT 3
> +#endif
>  #define SET_TIMEOUT 3

> --- linux-2.4/include/linux/usb.h     Mon Oct  8 08:57:55 2001
> +++ linux-2.4-ac/include/linux/usb.h  Mon Oct  8 16:31:15 2001
> @@ -539,13 +539,12 @@
> -typedef struct
> +struct usb_api_data

Needed for usb.c and kaweth.c change.

>   * NOTE:  there's no encoding (yet?) for a "high speed" endpoint; treat them
> - * like full speed devices.
> + * like like full speed devices.
>   */

Seems Linus has better grammar. I would split the line at semicolon.

-- Pete

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to