qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] ssi_auto_connect_slave


From: boddu pavan
Subject: [Qemu-discuss] ssi_auto_connect_slave
Date: Mon, 22 May 2017 13:04:25 +0000 (UTC)

Hi,
I see that ssi_auto_connect_slave helper of ssi.c 
(https://github.com/qemu/qemu/blob/master/hw/ssi/ssi.c#L166) is used to connect 
SSISlave children of spi controller to its respective spi bus. But this 
function cannot handle the scenario where controller has two spi busses ( like 
xilinx_spips). In this case each SSISlave is registered on both the buses.
I cannot image a possible good way to fix this, other than assigning a bus 
number property for each SSISlave. Let me know if that works as a good patch if 
provided ?
Thanks,
Sai Pavan

reply via email to

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