qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] usb: Clean up and extend SysBus EHCI
@ 2012-12-16  3:49 Andreas Färber
  2012-12-16  3:49 ` [Qemu-devel] [PATCH v2 1/4] usb/ehci: Clean up SysBus and PCI EHCI split Andreas Färber
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Andreas Färber @ 2012-12-16  3:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Peter A. G. Crosthwaite, Igor Mitsyanko,
	Andreas Färber, kraxel, Liming Wang

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 <kraxel@redhat.com>
Cc: Peter A. G. Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Igor Mitsyanko <i.mitsyanko@samsung.com>
Cc: Liming Wang <walimisdev@gmail.com>

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-12-18  8:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-16  3:49 [Qemu-devel] [PATCH v2 0/4] usb: Clean up and extend SysBus EHCI Andreas Färber
2012-12-16  3:49 ` [Qemu-devel] [PATCH v2 1/4] usb/ehci: Clean up SysBus and PCI EHCI split Andreas Färber
2012-12-17 13:29   ` Gerd Hoffmann
2012-12-17 17:14     ` Andreas Färber
2012-12-18  8:02       ` Gerd Hoffmann
2012-12-16  3:49 ` [Qemu-devel] [PATCH v2 2/4] usb/ehci: Move capsbase and opregbase into SysBus EHCI class Andreas Färber
2012-12-16  3:49 ` [Qemu-devel] [PATCH v2 3/4] usb/ehci: Add SysBus EHCI device for Exynos4210 Andreas Färber
2012-12-17 11:02   ` Igor Mitsyanko
2012-12-16  3:49 ` [Qemu-devel] [PATCH v2 4/4] exynos4210: Add EHCI support Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).