Statistics
| Branch: | Revision:

root / hw / usb / hcd-ehci-pci.c @ f487b677

History | View | Annotate | Download (6.8 kB)

# Date Author Comment
cc8d6a84 06/24/2013 09:33 am Kuo-Jung Su

usb/hcd-ehci: Replace PORTSC macros with variables

Replace PORTSC macros with variables which could then be
configured in ehci_xxxx_class_init(...)

Signed-off-by: Kuo-Jung Su <>
Signed-off-by: Andreas Färber <>
Signed-off-by: Gerd Hoffmann <>

08f4c90b 06/24/2013 09:23 am Andreas Färber

usb/hcd-ehci-sysbus: Convert to QOM realize

The SysBus qdev initfn merely calls SysBusDeviceClass::init, so we can
replace it with a realizefn already. This avoids getting into any initfn
ambiguity with the upcoming Faraday EHCI implementation.

Rename internal usb_ehci_initfn() to usb_ehci_realize() to allow to...

d4614cc3 06/24/2013 09:23 am Andreas Färber

usb/hcd-ehci: Split off instance_init from realize

This makes the mem MemoryRegion available to derived instance_inits.

Keep the bus in realize for now since naming breaks in instance_init.

Signed-off-by: Andreas Färber <>
Signed-off-by: Gerd Hoffmann <>

df32fd1c 06/20/2013 05:39 pm Paolo Bonzini

dma: eliminate DMAContext

The DMAContext is a simple pointer to an AddressSpace that is now always
already available. Make everyone hold the address space directly,
and clean up the DMA API to use the AddressSpace directly.

Reviewed-by: Peter Maydell <>...

5aa3ca9f 01/07/2013 01:57 pm Andreas Färber

usb/ehci: Clean up SysBus and PCI EHCI split

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....

1de7afc9 12/19/2012 09:32 am Paolo Bonzini

misc: move include files to include/qemu/

Signed-off-by: Paolo Bonzini <>

a2cb15b0 12/17/2012 01:02 pm Michael S. Tsirkin

pci: update all users to look in pci/

update all users so we can remove the makefile hack.

Signed-off-by: Michael S. Tsirkin <>

6c2d1c32 11/29/2012 09:04 am Gerd Hoffmann

usb: tag usb host adapters as not hotpluggable.

Hotplugging them simply doesn't work, so tag them accordingly to
avoid users trying and then crashing qemu.

For xhci there is nothing fundamental which prevents hotplug from
working, we'll "only" need a exit() function which cleans up...

55903f1d 11/16/2012 12:27 pm Gerd Hoffmann

ehci: handle dma errors

Starting with commit 1c380f9460522f32c8dd2577b2a53d518ec91c6d dma
transfers can actually fail. This patch makes ehci keep track
of the busmaster bit in pci config space, by setting/clearing the
dma_context pointer. Attempts to dma without context will result...

9d153047 11/09/2012 10:09 am Gerd Hoffmann

ehci: fix migration

Commit 5010d4dc618b6b8e7c21129c487c06f6493f71fc reorganized vmstate to
split core + pci, but got two little details wrong. Fix them.

Signed-off-by: Gerd Hoffmann <>

ba07630c 11/01/2012 04:17 pm Gerd Hoffmann

usb/ehci-pci: add ich9 00:1a.* variant

Signed-off-by: Gerd Hoffmann <>

bb4d2b2f 11/01/2012 04:17 pm Gerd Hoffmann

usb/ehci-pci: add helper to create ich9 usb controllers

Signed-off-by: Gerd Hoffmann <>

df013187 11/01/2012 04:17 pm Gerd Hoffmann

usb/ehci-pci: dynamic type generation

Signed-off-by: Gerd Hoffmann <>

0bf96f94 11/01/2012 02:10 pm Gerd Hoffmann

usb/ehci: split into multiple source files

Signed-off-by: Gerd Hoffmann <>