Hello Gerd, Here's an updated patchset for SysBus EHCI models, fixing exynos4210 values. As indicated, I've moved the state structs to the hcd-ehci.h header to allow my experimental Tegra model to embed EHCISysBusState into the SoC object's struct.
When you and reviewers are happy, please apply through your USB queue. Potential UHCI cleanups can be done in a separate series later on. Also any multi-EHCI issues discussed are outside the scope of this series. Regards, Andreas v1 -> v2: * Moved structs to header and add TYPE_* and cast macros there instead * Fixed exynos4210 opregbase as pointed out by Igor * Renamed the new "exynos4210-ehci" type, suggested by Igor * Dropped patch showcasing "tegra2-ehci[-usb]" model (deferred to Tegra series) * Added gtk-doc annotations for the parent instance/class fields Changes from Liming Wang's patchset: * Introduce abstract sysbus-ehci-usb and pci-ehci-usb types * Move class_init / instance_init to base type as far as possible * Use TYPE_* constant for instantiating exynos4210 EHCI * Added my tegra2 SysBus EHCI device to the mix Cc: Gerd Hoffmann <[email protected]> Cc: Peter A. G. Crosthwaite <[email protected]> Cc: Peter Maydell <[email protected]> Cc: Igor Mitsyanko <[email protected]> Cc: Liming Wang <[email protected]> Andreas Färber (3): usb/ehci: Clean up SysBus and PCI EHCI split usb/ehci: Move capsbase and opregbase into SysBus EHCI class usb/ehci: Add SysBus EHCI device for Exynos4210 Liming Wang (1): exynos4210: Add EHCI support hw/exynos4210.c | 7 +++++++ hw/exynos4210_gic.c | 2 +- hw/usb/hcd-ehci-pci.c | 39 ++++++++++++++++++++++-------------- hw/usb/hcd-ehci-sysbus.c | 49 +++++++++++++++++++++++++++++++++++----------- hw/usb/hcd-ehci.h | 46 +++++++++++++++++++++++++++++++++++++++++++ 5 Dateien geändert, 116 Zeilen hinzugefügt(+), 27 Zeilen entfernt(-) -- 1.7.10.4
