usb: QOM realize support for SysBus EHCI and FUSBH200
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,
Andreasv3 -> v4:
* Reverted movingusb_bus_new()intoinstance_init.v1 -> v3:
* Renamed realizefn -> realize following a discussion with Anthony.
* Renameusb_ehci_initfn->usb_ehci_realize.
* Split offinstance_initfrom 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 baseclass_init.
* Movedmem_vendorfield to new FUSBH200EHCIState.
* Replace vendor init callback with derivedinstance_init.
* Introduced enum for vendor registers.
* Replace magic number0x34with 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 offinstance_initfrom realize usb/hcd-ehci: Add Tegra2 SysBus EHCI deviceKuo-Jung Su (2):
usb/hcd-ehci: Replace PORTSC macros with variables usb/hcd-ehci: Add Faraday FUSBH200 supporthw/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
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