Linux kernel and binary drivers (was: [PATCH 2.5.5] do export

Steffen Persvold (sp@scali.com)
Fri, 5 Apr 2002 02:47:58 +0200 (CEST)


On Thu, 4 Apr 2002, Arjan van de Ven wrote:

>
> On Thu, Apr 04, 2002 at 04:35:33PM +0100, Tigran Aivazian wrote:
> > disappeared). Then, to make your thoughts consistent you would need to
> > disable the exported interfaces required for development of a journalling
>
> You assume EXPORT_SYMBOL is an exported, stable interface
> that constitutes a GPL barrier. I disagree with
> that and I think quite a few others do too.
>
> That seems to be the core issue here...

Ok since the issue has been brought up by this thread I felt it was about
time I got this right (beeing a writer of binary "partly" drivers).

The way we have solved it is to divide our drivers into two parts : one
core system and one kernel abstraction layer, which between them has a
defined ABI. The core system (which contains the "intelligent" parts) is
licensed under our own license and therefore only shipped as a
pre-compiled object file (or a collection of several) while the kernel
abstraction layer (which uses the Linux kernel header files and their
"API") is licensed under LGPL and shipped as source which can be compiled
agains any kernel tree. In the end all is linked together as one module
in order to make it load into the kernel.

There are also other reasons why we've made this split and that is to
maintain the same source for several OS'es without too much hassle. If a
new OS comes along, only a new kernel abstraction layer is needed, and
only minor changes are needed for the core system.

Do you think this is a clean way of doing things having the previous
discussions in mind ?

Regards,
--
Steffen Persvold | Scalable Linux Systems | Try out the world's best
mailto:sp@scali.com | http://www.scali.com | performing MPI implementation:
Tel: (+47) 2262 8950 | Olaf Helsets vei 6 | - ScaMPI 1.13.8 -
Fax: (+47) 2262 8951 | N0621 Oslo, NORWAY | >320MBytes/s and <4uS latency

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/