qemu-e2k/hw/usb
Gerd Hoffmann 2b2325ff64 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>
2013-04-16 12:04:09 +02:00
..
bus.c usb-hub: limit chain length 2013-04-03 11:39:43 +02:00
ccid-card-emulated.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
ccid-card-passthru.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
ccid.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
combined-packet.c
core.c
desc.c
desc.h
dev-audio.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
dev-bluetooth.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
dev-hid.c Merge remote-tracking branch 'bonzini/hw-dirs' into staging 2013-04-08 13:12:33 -05:00
dev-hub.c usb-hub: report status changes only once 2013-04-03 11:39:43 +02:00
dev-network.c
dev-serial.c usb-serial: Remove double call to qemu_chr_add_handlers( NULL ) 2013-04-16 11:59:08 +02:00
dev-smartcard-reader.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
dev-storage.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
dev-uas.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
dev-wacom.c
hcd-ehci-pci.c
hcd-ehci-sysbus.c
hcd-ehci.c
hcd-ehci.h
hcd-musb.c
hcd-ohci.c
hcd-uhci.c
hcd-xhci.c xhci: fix address device 2013-04-16 12:04:09 +02:00
host-bsd.c
host-legacy.c
host-libusb.c use libusb for usb-host 2013-04-16 12:04:09 +02:00
host-linux.c use libusb for usb-host 2013-04-16 12:04:09 +02:00
host-stub.c
host.h
libhw.c include: avoid useless includes of exec/ headers 2013-04-15 18:19:26 +02:00
Makefile.objs hw: make all of hw/usb/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
quirks-ftdi-ids.h
quirks-pl2303-ids.h
quirks.c
quirks.h
redirect.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00