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

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

 



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.

> Sarah Sharp


-- 
Best regards
Tianyu Lan
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux