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

2012-07-02 Thread Gerd Hoffmann
Hi, > Does it make sense to have an EHCI bus type that inherits from USBBus? > > That way we could change USBPortOps into methods of the USBBus that the > subclass overrides. I don't think this is useful. USBPortOps should be identical for both cases. > That would strongly decouple the EHCI

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

2012-06-25 Thread Anthony Liguori
On 06/25/2012 08:28 PM, Peter Crosthwaite wrote: On Tue, Jun 26, 2012 at 12:25 AM, Anthony Liguori wrote: On 06/25/2012 05:02 AM, Andreas Färber wrote: Hi Peter, Am 25.06.2012 11:34, schrieb Peter Crosthwaite: I have a platform (Xilinx Zynq) that has a USB EHCI controller that attaches dir

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

2012-06-25 Thread Peter Crosthwaite
On Tue, Jun 26, 2012 at 12:25 AM, Anthony Liguori wrote: > On 06/25/2012 05:02 AM, Andreas Färber wrote: >> >> Hi Peter, >> >> Am 25.06.2012 11:34, schrieb Peter Crosthwaite: >>> >>> I have a platform (Xilinx Zynq) that has a USB EHCI controller that >>> attaches directly to the system bus and not

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

2012-06-25 Thread Anthony Liguori
On 06/25/2012 05:02 AM, Andreas Färber wrote: Hi Peter, Am 25.06.2012 11:34, schrieb Peter Crosthwaite: 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

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

2012-06-25 Thread Andreas Färber
Hi Peter, Am 25.06.2012 11:34, schrieb Peter Crosthwaite: > 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: > > st

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

2012-06-25 Thread Peter Crosthwaite
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",