1. 28 1月, 2012 1 次提交
  2. 13 1月, 2012 1 次提交
  3. 23 11月, 2011 1 次提交
  4. 22 11月, 2011 1 次提交
  5. 01 11月, 2011 2 次提交
  6. 13 10月, 2011 2 次提交
  7. 07 9月, 2011 1 次提交
    • G
      usb: claim port at device initialization time. · 891fb2cd
      Gerd Hoffmann 提交于
      This patch makes qemu assign a port when creating the device, not when
      attaching it.  For most usb devices this isn't a noticable difference
      because they are in attached state all the time.
      
      The change affects usb-host devices which live in detached state while
      the real device is unplugged from the host.  They have a fixed port
      assigned all the time now instead of getting grabbing one on attach and
      releasing it at detach, i.e. they stop floating around at the usb bus.
      
      The change also allows to simplify usb-hub.  It doesn't need the
      handle_attach() callback any more to configure the downstream ports.
      This can be done at device initialitation time now.  The changed
      initialization order (first grab upstream port, then register downstream
      ports) also fixes some icky corner cases.  For example it is not possible
      any more to plug the hub into one of its own downstream ports.
      
      The usb host adapters must care too.  USBPort->dev being non-NULL
      doesn't imply any more the device is in attached state.  The host
      adapters must additionally check the USBPort->dev->attached flag.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      891fb2cd
  8. 04 8月, 2011 1 次提交
    • G
      usb: use iovecs in USBPacket · 4f4321c1
      Gerd Hoffmann 提交于
      Zap data pointer from USBPacket, add a QEMUIOVector instead.
      Add a bunch of helper functions to manage USBPacket data.
      Switch over users to the new interface.
      
      Note that USBPacket->len was used for two purposes:  First to
      pass in the buffer size and second to return the number of
      transfered bytes or the status code on async transfers.  There
      is a new result variable for the latter.  A new status code
      was added to catch uninitialized result.
      
      Nobody creates iovecs with more than one element (yet).
      Some users are (temporarely) limited to iovecs with a single
      element to keep the patch size as small as possible.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      4f4321c1
  9. 08 7月, 2011 1 次提交
  10. 05 7月, 2011 2 次提交
  11. 26 5月, 2011 3 次提交
  12. 04 5月, 2011 1 次提交
  13. 25 1月, 2011 1 次提交
  14. 12 1月, 2011 6 次提交
  15. 11 1月, 2011 4 次提交
  16. 12 12月, 2010 2 次提交
  17. 26 4月, 2010 1 次提交
  18. 19 12月, 2009 1 次提交
  19. 12 12月, 2009 2 次提交
  20. 05 10月, 2009 1 次提交
  21. 10 9月, 2009 2 次提交
  22. 06 2月, 2009 1 次提交
  23. 18 11月, 2007 1 次提交
  24. 17 9月, 2007 1 次提交