On 08/04/2011 10:10 AM, Gerd Hoffmann wrote:
Hi,
Major changes in the USB patch queue:
* The USBPacket payload is represented as iovec instead of a linear
buffer. This allows to kill some copying and buffering.
* The HID code is splitted into hw/hid.[ch], keeping only the usb
interfaacing in hw/usb-hid.c. This allows easy reuse in other
contexts such as bluetooth.
please pull,
Gerd
Pulled. Thanks.
Regards,
Anthony Liguori
The following changes since commit a6f4e09d90cef88be07cd597c2f2a9f0b3ed0763:
lm32: softusb: claim to support full speed (2011-08-04 01:14:22 +0200)
are available in the git repository at:
git://git.kraxel.org/qemu usb.22
Gerd Hoffmann (16):
re-activate usb-host for bsd
Add iov_hexdump()
Add iov_clear()
move QEMUSGList typedef
usb: use iovecs in USBPacket
usb-serial: iovec support
usb-host: iovec support
usb-storage: iovec support
uhci: remove buffer
ehci: iovec support, remove buffer
usb-hid: create& use HIDState
usb-hid: add event callback
usb-hid: add hid_has_events()
usb-hid: split hid code to hw/hid.[ch]
hid: move idle+protocol from usb-hid to hid too.
bluetooth: kill dummy usb device, use hid code directly.
Makefile.objs | 2 +
dma.h | 4 +-
hw/bt-hid.c | 62 ++----
hw/hid.c | 403 +++++++++++++++++++++++++++++++++++++
hw/hid.h | 58 ++++++
hw/milkymist-softusb.c | 8 +-
hw/usb-bt.c | 31 +--
hw/usb-ccid.c | 46 +++--
hw/usb-ehci.c | 160 ++++++---------
hw/usb-hid.c | 519 +++++++----------------------------------------
hw/usb-hub.c | 8 +-
hw/usb-libhw.c | 63 ++++++
hw/usb-msd.c | 109 +++++------
hw/usb-musb.c | 22 +-
hw/usb-net.c | 65 ++----
hw/usb-ohci.c | 23 +-
hw/usb-serial.c | 26 ++-
hw/usb-uhci.c | 51 ++---
hw/usb-wacom.c | 6 +-
hw/usb.c | 86 +++++++--
hw/usb.h | 13 +-
iov.c | 54 +++++
iov.h | 4 +
qemu-common.h | 1 +
usb-bsd.c | 14 +-
usb-linux.c | 48 +++--
usb-redir.c | 59 +++---
27 files changed, 1087 insertions(+), 858 deletions(-)
create mode 100644 hw/hid.c
create mode 100644 hw/hid.h
create mode 100644 hw/usb-libhw.c