Liyu wrote:
> Anssi Hannula wrote:
>> One possibility is to do that with symbol_request() and friends. That
>> would not be pretty though, imho.
>>
>> DVB subsystem uses that currently to load frontend modules dynamically,
>> see dvb_attach() and dvb_frontend_detach() in
>> drivers/media/dvb/dvb-core/dvbdev.h and
>> drivers/media/dvb/dvb-core/dvb_frontend.c.
>>
>>   
> This means also can load module dynamically. In apparently, I think it
> have two weaknesses:
>    
>     1. It require module have one exported symbol at least.

True.

>     2. We must handle life cycle of module by myself.

We need to handle reference count, yes.

> Is it right?
> 
> Goodluck
> 
> -Liyu
> 


-- 
Anssi Hannula


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to