1. 13 9月, 2012 6 次提交
  2. 11 9月, 2012 12 次提交
  3. 09 7月, 2012 1 次提交
  4. 20 6月, 2012 1 次提交
  5. 26 4月, 2012 3 次提交
  6. 17 4月, 2012 2 次提交
  7. 13 3月, 2012 1 次提交
    • G
      usb: the big rename · f1ae32a1
      Gerd Hoffmann 提交于
      Reorganize usb source files.  Create a new hw/usb/ directory and move
      all usb source code to that place.  Also make filenames a bit more
      descriptive.  Host adapters are prefixed with "hch-" now, usb device
      emulations are prefixed with "dev-".  Fixup paths Makefile and include
      paths to make it compile.  No code changes.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      f1ae32a1
  8. 07 3月, 2012 3 次提交
  9. 27 2月, 2012 5 次提交
  10. 15 2月, 2012 1 次提交
  11. 10 2月, 2012 3 次提交
    • G
      usb: Set USBEndpoint in usb_packet_setup(). · 079d0b7f
      Gerd Hoffmann 提交于
      With the separation of the device lookup (via usb_find_device) and
      packet processing we can lookup device and endpoint before setting up
      the usb packet.  So we can initialize USBPacket->ep early and keep it
      valid for the whole lifecycle of the USBPacket.  Also the devaddr and
      devep fields are not needed any more.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      079d0b7f
    • G
      usb: kill handle_packet callback · 7f74a56b
      Gerd Hoffmann 提交于
      All drivers except usb-hub use usb_generic_handle_packet.  The only
      reason the usb hub has its own function is that it used to be called
      with packets which are intended for downstream devices.  With the new,
      separate device lookup step this doesn't happen any more, so the need
      for a different handle_packet callback is gone.
      
      So we can kill the handle_packet callback and just call
      usb_generic_handle_packet directly.  The special hub handling in
      usb_handle_packet() can go away for the same reason.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      7f74a56b
    • H
      usb-redir: Add the posibility to filter out certain devices from redirecion · 6af16589
      Hans de Goede 提交于
      This patch adds the posibility to filter out certain devices from redirecion.
      To use this pass the filter property to -device usb-redir.  The filter
      property takes a string consisting of filter rules, the format for a rule is:
      <class>:<vendor>:<product>:<version>:<allow>
      
      -1 can be used to allow any value for a field.
      
      Muliple rules can be concatonated using | as a separator. Note that if
      a device matches none of the passed in rules, redirecting it will not be
      allowed!
      
      Example:
      -device usb-redir,filter='-1:0x0781:0x5567:-1:0|0x08:-1:-1:-1:1'
      
      This example will deny the Sandisk Cruzer Blade being redirected, as it
      has a usb id of 0781:5567, it will allow any other usb mass storage devices,
      and it will deny any other devices (the default for devices not matching any
      of the rules.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      6af16589
  12. 07 2月, 2012 1 次提交
  13. 28 1月, 2012 1 次提交