lkml.org 
[lkml]   [2004]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb-devel] [PATCH] Make USB process hub events in correct order
On Tue, Jun 15, 2004 at 02:26:49PM -0400, Byron Stanoszek wrote:
> This patch fixes the USB hub module to process events in the order that they
> are received. It fixes the case where multi-port devices have multiple
> hubs in them--while they are detected in the correct order, they are
> initialized in reverse. It is required for the Sealink 8-port USB->serial
> hubs
> to initialize with the port numbers in the correct order.
>
> I don't think it breaks any existing functionality, but I won't send this to
> Linus yet till I know it doesn't break anything.

Linus isn't the person to send this to :)

> Patch below against 2.6.7-rc3.

You know you still can't rely on the events happening in "numerical"
order, even with this patch, right?

That's what tools like udev is for, that way you can always name your
/dev/ttyUSB* devices properly.

Anyway, I don't have a problem with this patch, other than it doesn't
apply to the current USB tree, as there has been a lot of work in the
hub driver recently. Care to make it up again against the latest -mm
release, as that has the USB development tree included in it.

thanks,

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

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.030 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site