Hi,

>>> Qemu doesn't provide some properties, such as "bus", to specify which EHCI 
>>> controller the
>>> usb device attach to.  If we use "device" and "usb-storage", we never 
>>> attach the usb
>>> device to the specified EHCI controller.
>>
>> -device certainly ought to let you specify a bus= property;
> 
> Sorry, I don't know the bus= property. 
> But why both EHCI controller are named "usb-bus.0"? How to distinguish the
> different usb usb?

That is the default name.  For usb controllers added via -device the bus
name is derived from the device name, i.e. '-device usb-ehci,id=ehci"
gives you a bus named "ehci.0".

For builtin devices that doesn't work though as you don't have to add
them manually.  Guess they should be explicitly named then by zynq_init().

cheers,
  Gerd


Reply via email to