Re: [PATCH V2] ACPI: Allow acpi binding with usb3.0 hub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 21, 2012 at 11:16:01AM +0800, Lan Tianyu wrote:
> On 2012年09月21日 08:25, Sarah Sharp wrote:
> > Hi Tianyu,
> > 
> > You're correct that the USB core and the xHCI driver has a slightly
> > different architecture than the ACPI representation.  We have one PCI
> > device that has two USB buses/roothubs underneath it.  That's because
> > external USB 3.0 hubs show up as two USB devices: a USB 3.0 only
> > portion, and a USB 2.0 portion.  We wanted roothubs to act the same way.
> > 
> > The architecture looks something like this:
> > 
> >       struct pci_dev
> >       |
> > struct usb_hcd *primary_hcd -- struct usb_hcd *secondary_hcd
> >       |                               |
> > struct usb_bus                  struct usb_bus
> >       |                               |
> >  struct usb_device *root_hub     struct usb_device *root_hub
> >       |                               |
> >    struct device                   struct device
> > 
> > Where the primary_hcd is for the USB 2.0 roothub, and the secondary_hcd
> > is for the USB 3.0 roothub.
> > 
> > So you're trying to bind one ACPI node (RHUB) to the struct device
> > contained in those two root_hubs, correct?  That goal seems sane to me.
> > 
> Yes, that is my patch's purpose.

Great!  Len should queue it up then.

Acked-by: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux