summaryrefslogtreecommitdiffstats
path: root/hw/usb/hcd-ehci-sysbus.c
Commit message (Collapse)AuthorAgeFilesLines
* usb/ehci: Add SysBus EHCI device for Exynos4210Andreas Färber2013-01-071-0/+15
| | | | | | | | | It uses a different capsbase and opregbase than the Xilinx device. Signed-off-by: Liming Wang <walimisdev@gmail.com> Signed-off-by: Andreas Färber <andreas.faerber@web.de> Cc: Igor Mitsyanko <i.mitsyanko@samsung.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* usb/ehci: Move capsbase and opregbase into SysBus EHCI classAndreas Färber2013-01-071-2/+13
| | | | | | | This allows specific derived models to use different values. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* usb/ehci: Clean up SysBus and PCI EHCI splitAndreas Färber2013-01-071-9/+10
| | | | | | | | | | | | | | | | 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>
* ehci-sysbus: Attach DMA context.Peter Crosthwaite2012-11-291-0/+1
| | | | | | | | | | This was left as NULL on the initial merge due to debate on the mailing list on how to handle DMA contexts for sysbus devices. Patch 9e11908f12f92e31ea94dc2a4c962c836cba9f2a was later merged to fix OHCI. This is the, equivalent fix for sysbus EHCI. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* usb/ehci: add sysbus variantGerd Hoffmann2012-11-011-0/+77
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
OpenPOWER on IntegriCloud