Skip to contentSkip to conversation

usb: QOM realize support for SysBus EHCI and FUSBH200

PATCH Andreas Färber 2 participants 2 messages Apr 10, 2013 – Apr 18, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Am 25.02.2013 18:06, schrieb Andreas Färber:

Quoted 4 lines

Hello Gerd,

v4 fixes the bus naming by leaving usb_bus_new() in realize for now. A mid-term fix will be to rework (q)bus initialization.

Ping?

Quoted 45 lines

Regards,
Andreas

v3 -> v4:
* Reverted moving usb_bus_new() into instance_init.

v1 -> v3:
* Renamed realizefn -> realize following a discussion with Anthony.
* Rename usb_ehci_initfn -> usb_ehci_realize.
* Split off instance_init from initfn / realize, with Faraday in mind.
* Incorporated Kuo-Jung's v1 EHCI refactoring + FUSBH200 EHCI.
* Merged Kuo-Jung's v2 PCI initialization.

From Kuo-Jung's FUSBH200/PORTSC v1/v2:
* Moved old portscbase and portnr values into base class_init.
* Moved mem_vendor field to new FUSBH200EHCIState.
* Replace vendor init callback with derived instance_init.
* Introduced enum for vendor registers.
* Replace magic number 0x34 with formula, so that it doesn't deviate.

From my Tegra2 FYI patch:
* None.

Cc Gerd Hoffmann <[email protected]>
Cc Kuo-Jung Su <[email protected]>
Cc Peter Crosthwaite <[email protected]>
Cc Igor Mitsyanko <[email protected]>
Cc Liming Wang <[email protected]>

Andreas Färber (3):
usb/hcd-ehci-sysbus: Convert to QOM realize usb/hcd-ehci: Split off instance_init from realize usb/hcd-ehci: Add Tegra2 SysBus EHCI device

Kuo-Jung Su (2):
usb/hcd-ehci: Replace PORTSC macros with variables usb/hcd-ehci: Add Faraday FUSBH200 support

 hw/usb/hcd-ehci-pci.c    |   23 ++++++---
 hw/usb/hcd-ehci-sysbus.c |  121 +++++++++++++++++++++++++++++++++++++++++++---
 hw/usb/hcd-ehci.c        |   50 +++++++++++--------
 hw/usb/hcd-ehci.h        |   28 ++++++++---

4 Dateien geändert, 181 Zeilen hinzugefügt(+), 41 Zeilen entfernt(-)

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#2 lore raw
Quoted 7 lines · Andreas Färber

Am 25.02.2013 18:06, schrieb Andreas Färber:

Quoted 4 lines

Hello Gerd,

v4 fixes the bus naming by leaving usb_bus_new() in realize for now. A mid-term fix will be to rework (q)bus initialization.

Ping?

Can you resend please? /me finds only patches 1-3 in my qemu-devel folder. Sorry for the delay, somehow missed the series.

thanks,
Gerd