On 25.10.2012 14:29, Maurizio Lombardi wrote:
> I committed a patch to add support to fun_online() and fun_offline()
> to the rtc driver and it is available for testing in the
> lp:rtc-helenos branch.
> However Jakub noticed a problem with the current implementation:
> 
> the command to online/offline a function behaves differently depending
> whether you offline the exposed function or the parent of the exposed
> function.
> 
> In the latter case, everything work fine.
> 
> In the former case, when you offline the exposed function it is
> unregistered from the clock category by the ddf,
> but when you bring it online again it is not automatically registered
> to the clock category.
> 
> This is my question: who should take care of readding the exposed
> function to the appropriate category? The ddf framework or the rtc
> driver?
> If ddf_fun_offline() automatically removes the function from clock
> category shouldn't ddf_fun_online() add it back again?

My addition to this observation is that an attempt to add the function
to its category in the function online() callback does not work for some
reason either.

Jakub


_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to