Re: [linux-usb-devel] [PATCH] Make USB process hub events in correct order

From: Greg KH (greg_at_kroah.com)
Date: 06/15/04

  • Next message: Horst von Brand: "Re: concurrent acces by make menuconfig"
    Date:	Tue, 15 Jun 2004 13:06:34 -0700
    To: Byron Stanoszek <gandalf@winds.org>
    
    

    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/


  • Next message: Horst von Brand: "Re: concurrent acces by make menuconfig"

    Relevant Pages

    • Re: [PATCH] x86-64: dma_ops for DMA mapping - K3
      ... The patch is against Linus's tree as of a few minutes ... ohci_hcd 0000:00:02.0: new USB bus registered, ... hub 2-0:1.0: USB hub found ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: freebsd-stable Digest, Vol 49, Issue 7
      ... > identicyl to the Cypress Semiconductor Slim Hub. ... > The latest 4.9-STABLE is still missing the patch ... I'm Merging the entire USB stack today.. ... USB 2.0 Hub, patch for BSD stack, addendum ...
      (freebsd-stable)
    • Re: OHCI_QUIRK_INITRESET (was: 2.6.9-rc2-mm2 ohci_hcd doesnt work)
      ... The attached patch (which applies on top of Rui's patch for ... ohci_hcd 0000:00:0f.2: new USB bus registered, ... hub 1-0:1.0: USB hub found ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: USB - UHCI not SMP capable? linux-2.6-test4
      ... from test4 and Duncan's patch ... driver v2.1uhci-hcd 0000:00:07.2: new USB bus registered, assigned bus ... hub 1-0:0: USB hub found ...
      (Linux-Kernel)
    • HIGHMEM slows down 2.6.11-rc3-bk7 machine
      ... disabled in BIOS, mainly USB/NET/FIREWIRE/SATA stuff. ... Linux agpgart interface v0.100 Dave Jones ... usbcore: registered new driver hub ... ehci_hcd 0000:00:1d.7: new USB bus registered, ...
      (Linux-Kernel)