[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <452AD2B5.3040507@gmail.com>
Date: Tue, 10 Oct 2006 01:52:37 +0300
From: Anssi Hannula <anssi.hannula@...il.com>
To: Liyu <raise.sail@...il.com>
CC: greg <greg@...ah.com>, Randy Dunlap <rdunlap@...otime.net>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
linux-usb-devel <linux-usb-devel@...ts.sourceforge.net>
Subject: Re: [linux-usb-devel] [PATCH] usb/hid: The HID Simple Driver Interface
0.3.2 (core)
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists