lkml.org 
[lkml]   [1999]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: module_info
On Mon, Jun 28, 1999 at 04:11:08PM -0700, David L. Gehrt wrote:
> A while back someone asked on some Linux mailing list how to create a
> module_info file. I never saw an answer, but I am interested in knowing the
> answer. I can't find the answer in the docs, or on the web.

Use the macros provided by linux/module.h: MODULE_AUTHOR, MODULE_DESCRIPTION,
MODULE_PARM, MODULE_PARM_DESC, MODULE_SUPPORTED_DEVICE.

Those can be displayed by modinfo. They are stored in a separate ELF section
(.modinfo) of the module object.
Is this what you want?

Regards,
--
Kurt Garloff <garloff@suse.de> SuSE GmbH, Nürnberg, FRG
Linux kernel development; SCSI driver: DC390 (tmscsim/AM53C974)
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.059 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site