Hi, On Tue, Sep 06, 2011 at 12:33:00AM +0200, Samuel Thibault wrote:
> However, I realize that the status parameter of the device_get_status > RPC is out only, not inout, so device_get_status alone can not provide > complete support. One way would be to use a set/get pair. Well, if we need to go for a multi-RPC approach, I'd suggest doing it *properly*, i.e. using get_status/set_status only for actual control information, and pass the data with read/write calls. > Another way would be to define a new device_command RPC, and extend > the device_emulation_ops structure with it. This indeed might be a more pragmatic approach... -antrik-