/* For userspace: you can also call me... */ #define MODULE_ALIAS(_alias) MODULE_INFO(alias, _alias) /* Soft module dependencies. See man modprobe.d for details. * Example: MODULE_SOFTDEP("pre: module-foo module-bar post: module-baz") /* * The following license idents are currently accepted as indicating free * software modules * *"GPL"[GNU Public License v2 or later] *"GPL v2"[GNU Public License v2] *"GPL and additional rights"[GNU Public License v2 rights and more] *"Dual BSD/GPL"[GNU Public License v2 * or BSD license choice] *"Dual MIT/GPL"[GNU Public License v2 * or MIT license choice] *"Dual MPL/GPL"[GNU Public License v2 * or Mozilla license choice] * * The following other idents are available * *"Proprietary"[Non free products] * * There are dual licensed components, but when running with Linux it is the * GPL that is relevant so this is a non issue. Similarly LGPL linked with GPL * is a GPL combined work. * * This exists for several reasons * 1.So modinfo can show license info for users wanting to vet their setup *is free * 2.So the community can ignore bug reports including proprietary modules * 3.So vendors can do likewise based on their own policies */ #define MODULE_LICENSE(_license) MODULE_INFO(license, _license) /* * Author(s), use "Name " or just "Name", for multiple * authors use multiple MODULE_AUTHOR() statements/lines. */ #define MODULE_AUTHOR(_author) MODULE_INFO(author, _author) /* What your module does. */ #define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description)
文章评论(0条评论)
登录后参与讨论