[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [virtio-comment] [PATCH v4] virtio-i2c: add the device specification
On 2020/11/17 23:59, Paolo Bonzini wrote:
On 17/11/20 09:23, Gerd Hoffmann wrote:That is not enough. You also need that for the transactions. If the driver sends a write and a read message the device needs to know whenever that is one or two transactions. So if you want continue with the i2c_msg list idea you need some way to group your messages into transactions. Or you go with paolos idea which looks simpler to me.Yeah, that seems the simplest. You can also add a flags u32 that must be zero, in order to simplify future extensibility.Paolo
Sure, I will do that. Thank you.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]