Re: [RFC 01/15] USB 3.0 Hub Changes

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

 



On Tue, Nov 30, 2010 at 10:48:17AM -0500, Alan Stern wrote:
> On Mon, 29 Nov 2010, Sarah Sharp wrote:
> 
> > From: John Youn <John.Youn@xxxxxxxxxxxx>
> > 
> > Update the USB core to deal with USB 3.0 hubs.  These hubs have a slightly
> > different hub descriptor than USB 2.0 hubs, with a fixed (rather than
> > variable length) size.  Change the USB core's hub descriptor to have a
> > union for the last fields that differ.  Change the host controller drivers
> > that access those last fields (DeviceRemovable and PortPowerCtrlMask) to
> > use the union.
> > 
> > Translate the new version of the hub port status field into the old
> > version that khubd understands.  (Note: we need to fix it to translate the
> > roothub's port status once we stop converting it to USB 2.0 hub status
> > internally.)
> 
> Although this patch may not be the right place to do it, I would like 
> to see the port status conversion stuff added to this series.

Yes, it was my intent to include that in the final patchset.

> At the same time, the hub driver shouldn't need to translate USB-3 port 
> statuses into USB-2 form.  It should be smart enough to interpret the 
> value based on the kind of hub.

Yes, there's a lot of cleanup I'd like to do in the USB core along those
lines.  But I wanted to get feedback on the major changes in the USB
core before working on the cleanup.

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