qemu/hw/usb
Andreas Färber 5aa3ca9f53 usb/ehci: Clean up SysBus and PCI EHCI split
SysBus EHCI was introduced in a hurry before 1.3 Soft Freeze.
To use QOM casts in place of DO_UPCAST() / FROM_SYSBUS(), we need an
identifying type. Introduce generic abstract base types for PCI and
SysBus EHCI to allow multiple types to access the shared fields.

While at it, move the state structs being amended with macros to the
header file so that they can be embedded.

The VMSTATE_PCI_DEVICE() macro does not play nice with the QOM
parent_obj naming convention, so defer that cleanup.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2013-01-07 12:57:24 +01:00
..
bus.c usb: Add an usb_device_ep_stopped USBDevice method 2013-01-07 12:57:24 +01:00
combined-packet.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
core.c usb: Fix usb_ep_find_packet_by_id 2013-01-07 12:57:24 +01:00
desc.c usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
desc.h usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
dev-audio.c usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
dev-bluetooth.c softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
dev-hid.c hid: Change idle handling to use a timer 2013-01-07 12:57:24 +01:00
dev-hub.c usb: Call wakeup when data becomes available for all devices with int eps 2012-12-04 14:41:54 +01:00
dev-network.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
dev-serial.c softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
dev-smartcard-reader.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
dev-storage.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
dev-uas.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
dev-wacom.c ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
hcd-ehci-pci.c usb/ehci: Clean up SysBus and PCI EHCI split 2013-01-07 12:57:24 +01:00
hcd-ehci-sysbus.c usb/ehci: Clean up SysBus and PCI EHCI split 2013-01-07 12:57:24 +01:00
hcd-ehci.c usb: Add an usb_device_ep_stopped USBDevice method 2013-01-07 12:57:24 +01:00
hcd-ehci.h usb/ehci: Clean up SysBus and PCI EHCI split 2013-01-07 12:57:24 +01:00
hcd-musb.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
hcd-ohci.c usb: Add an usb_device_ep_stopped USBDevice method 2013-01-07 12:57:24 +01:00
hcd-uhci.c usb: Add an usb_device_ep_stopped USBDevice method 2013-01-07 12:57:24 +01:00
hcd-xhci.c xhci: call set-address with dummy usbpacket 2013-01-07 12:57:24 +01:00
host-bsd.c monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
host-linux.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
host-stub.c monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
libhw.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
Makefile.objs usb: Add packet combining functions 2012-11-01 15:17:58 +01:00
redirect.c usb-redir: Add debugging to bufpq save / restore 2013-01-07 12:57:24 +01:00