aboutsummaryrefslogtreecommitdiff
path: root/target-moxie/cpu.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-11-30 16:02:11 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-04-16 12:04:09 +0200
commit2b2325ff6491224a42e1fec99b1c39fbc521c95c (patch)
tree995a7707b94bee56d11fc3a2f526ffe936a922c9 /target-moxie/cpu.h
parenta67188743bc30a3ad1358b8cd0a2a3cb64c10ff9 (diff)
use libusb for usb-host
Reimplement usb-host on top of libusb. Reasons to do this: (1) Largely rewritten from scratch, nice opportunity to kill historical cruft. (2) Offload usbfs handling to libusb. (3) Have a single portable code base instead of bsd + linux variants. (4) Bring usb-host support to any platform supported by libusbx. For now this goes side-by-side to the existing code. That is only to simplify regression testing though, at the end of the day I want remove the old code and support libusb exclusively. Merge early in 1.5 cycle, remove the old code after 1.5 release or something like this. Thanks to qdev the old and new code can coexist nicely on linux. Just use "-device usb-host-linux" to use the old linux driver instead of the libusb one (which takes over the "usb-host" name). The bsd driver isn't qdev'ified so it isn't that easy for bsd. I didn't bother making it runtime switchable, so you have to rebuild qemu with --disable-libusb to get back the old code. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'target-moxie/cpu.h')
0 files changed, 0 insertions, 0 deletions