Re: [RFC 15/22] xhci: Register second xHCI roothub.

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

 



On Thu, 30 Dec 2010, Sarah Sharp wrote:

> This patch changes the xHCI driver to allocate two roothubs.  This touches
> the driver initialization and shutdown paths, roothub emulation code, and
> port status change event handlers.  This is a rather large patch, but it
> can't be broken up, or it would break git-bisect.

Instead of relying on usb_hcd_pci_probe() to register both root hubs, 
you should use it only for the first (primary) bus.  The second bus you 
should register by calling usb_create_shared_hcd() directly.  After 
all, with the secondary root hub you get no benefit from the PCI 
services provided by usb_hcd_pci_probe().

Alan Stern

--
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