Re: [RFC 10/22] usb: Make core allocate resources per PCI-device.

Previous thread: Re: [RFC 09/22] usb: Store bus type in usb_hcd, not in driver flags. by Alan Stern on Friday, December 31, 2010 - 10:26 am. (1 message)

Next thread: Re: [RFC 11/22] USB: Set usb_hcd->state and flags for shared roothubs. by Alan Stern on Friday, December 31, 2010 - 10:53 am. (1 message)
From: Alan Stern
Date: Friday, December 31, 2010 - 10:38 am

I'm not sure this "shared_hcd" pointer is needed.  Does it ever get 

This doesn't seem like the right approach.  The creation of a secondary 
usb_hcd should be handled by the driver that needs it; it isn't such a 
common activity that we need to implement it in the USB core.  In 

Didn't we agree earlier that xhci-hcd needs to register its USB-2 root 


Do you really need to set hcd->primary_hcd to point to hcd itself?  My 
inclination would be to leave it unset.

Alan Stern

--

Previous thread: Re: [RFC 09/22] usb: Store bus type in usb_hcd, not in driver flags. by Alan Stern on Friday, December 31, 2010 - 10:26 am. (1 message)

Next thread: Re: [RFC 11/22] USB: Set usb_hcd->state and flags for shared roothubs. by Alan Stern on Friday, December 31, 2010 - 10:53 am. (1 message)