[SeaBIOS] [PATCH 2/4] usb: don't free usbdev

Gerd Hoffmann kraxel at redhat.com
Thu Aug 29 16:50:19 CEST 2013


On Do, 2013-08-29 at 08:15 -0400, Kevin O'Connor wrote:
> On Wed, Aug 21, 2013 at 03:20:21PM +0200, Gerd Hoffmann wrote:
> > xhci needs them even after completing device initialization.  xhci must
> > to walk up the chain to the root port and the usbdevs (of usb hubs) are
> > part of it.
> 
> The hub's usbdev isn't freed until all of its ports have been
> configured.  The only place I see the hub chain walked is in an xhci
> set-address command - but that command would only be run during the
> configuration when all the hub ports are still available.  So, I don't
> understand why this change is necessary.

I'll recheck.  There was another reason for this patch, which is
obsoleted now by patch 3/4 which wasn't there initially.

cheers,
  Gerd






More information about the SeaBIOS mailing list