Greetings,

On 22-Apr-01 Alan Cox wrote:
>> Question is... do you want it? Considering it still has a binary part,
>> though completely optional... The driver is certainly production ready,
>> its
> 
> The binary part would simply get forgotten. Leave a comment so that people
> know where to get the binary module including one by ftp/http.

No problem... But Iīm still deciding whatīs the best strategy. Iīve tried two
approaches:

* distribute a .o file with the code which requires a small patch to the
  Makefile, so that it gets linked in (the current method)
* build a separate module that acts as a īpluginī to the pwc driver.

Both methods have their pros and cons, and one common problem: users donīt
read documentation :-(

The first method is a bit more difficult for the average Linux user (most can
find their way trough the kernel menuīs, but patching the tree is a bit
different, and scary). However, it usually works best.

The second suffers from 2 problems: kernel module versioning, and the kernel
version. The first I solved by exporting symbols from my code with
EXPORT_SYMBOL_NOVERSION and using wrapper functions for kmalloc() etc. The
second is a lot more irritating: unless users use exactly the same kernel
version, modprobe complains about kernel versions long and hard. And with
2.4.* itīs not possible anymore to build īversion-lessī modules like with 
2.2.* (#define NO_VERSION does not have any effect anymore), unless I
overlooked something.

>> I have no problems with keeping it as an add-on, like Jeroen Vreekens
>> SE401 driver, or other such drivers.
> 
> Good, solid, drivers belong in the kernel in general.

Very well, I will prepare a patch. Any particular kernel version you want it
against? I usually do not run -ac kernels... (plus, in this case it would be
rather trivial since itīs a self-sustained module)

 - Nemosoft

-----------------------------------------------------------------------------
Try SorceryNet!   One of the best IRC-networks around!   irc.sorcery.net:9000
URL: never        IRC: nemosoft      IscaBBS (bbs.isca.uiowa.edu): Nemosoft
                        >> Never mind the daylight << 

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to