qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC] Attaching EHCI to sysbus.


From: Peter Crosthwaite
Subject: [Qemu-devel] [RFC] Attaching EHCI to sysbus.
Date: Mon, 25 Jun 2012 19:34:34 +1000

Hi All,

I have a platform (Xilinx Zynq) that has a USB EHCI controller that
attaches directly to the system bus and not through PCI. We are
looking for a way to disentangle EHCI from PCI - currently it inherits
from TYPE_PCI_DEVICE:

static TypeInfo ehci_info = {
    .name          = "usb-ehci",
    .parent        = TYPE_PCI_DEVICE,
    .instance_size = sizeof(EHCIState),
    .class_init    = ehci_class_init,
};

How would we go about edit EHCI to inherit from TYPE_SYSBUS_DEVICE as well?

Regards,
Peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]