- From: Calin A. Culianu <calin_at_ajvar.org>
- Date: Tue, 24 Sep 2002 13:11:02 -0400 (EDT)
The newer kernels have the concept of module licenses. If your module is
GPL, then you can do:
#ifdef MODULE_LICENSE
MODULE_LICENSE("GPL");
#endif
Which will 'flag' your module as being an open-source, GPL licensed
module.
The reason for this module license business is that too many people were
posting bug reports to the linux kernel mailing list involving
non-open-source drivers (such as the NVdriver that NVIDIA makes for Linux)
-- so now a kernel that has been 'tainted' by non-open-source licenses
indicates that in its oops output... and people working on the kernel can
know that if the kernel crashed, its possible that it did so due to bugs
in the 'tainting' drivers and not in the non-closed-source kernel itself.
-Calin
On 24 Sep 2002, Edwin du wrote:
> Hi all,
> I was writing a driver for a simple DI/DO PCI card. I included the
> 'amcc_s5933' to initialize my pci card.
> When inserting the module (amcc_s5933), it reports:
> ------------------------------------------------------------------------
> Warning: loading
> /lib/modules/2.4.18-11/comedi/comedi/drivers/amcc_s5933.o will
> taint the kernel: no license
> See http://www.tux.org/lkml/#export-tainted for information about
> tainted modules
> Module amcc_s5933 loaded, with warnings
> ------------------------------------------------------------------------
> What does it mean? I noticed in include/linux/module.h has the
> MODULE_LICENSE flag setting, my kernel is 2.4.18-11 in Red hat.
>
> By the way, is it necessary to call pci_card_list_init() in attach() to
> init my pci DIO card? Firstly I follow the step as driver/skel.c and
> driver/contec_pci_dio.c, but my card has not been detected.
> Thanks for replying.
>
> Best Regards,
> Edwin
>
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
>
Received on 2002-09-24Z16:11:02