1c18f6365SGreg Kroah-HartmanWhat:		/sys/module
2c18f6365SGreg Kroah-HartmanDescription:
3c18f6365SGreg Kroah-Hartman	The /sys/module tree consists of the following structure:
4c18f6365SGreg Kroah-Hartman
5c18f6365SGreg Kroah-Hartman	/sys/module/MODULENAME
6c18f6365SGreg Kroah-Hartman		The name of the module that is in the kernel.  This
786f12003SJean Delvare		module name will always show up if the module is loaded as a
886f12003SJean Delvare		dynamic module.  If it is built directly into the kernel, it
986f12003SJean Delvare		will only show up if it has a version or at least one
1086f12003SJean Delvare		parameter.
1186f12003SJean Delvare
1286f12003SJean Delvare		Note: The conditions of creation in the built-in case are not
1386f12003SJean Delvare		by design and may be removed in the future.
14c18f6365SGreg Kroah-Hartman
15c18f6365SGreg Kroah-Hartman	/sys/module/MODULENAME/parameters
16c18f6365SGreg Kroah-Hartman		This directory contains individual files that are each
17c18f6365SGreg Kroah-Hartman		individual parameters of the module that are able to be
18c18f6365SGreg Kroah-Hartman		changed at runtime.  See the individual module
19c18f6365SGreg Kroah-Hartman		documentation as to the contents of these parameters and
20c18f6365SGreg Kroah-Hartman		what they accomplish.
21c18f6365SGreg Kroah-Hartman
22c18f6365SGreg Kroah-Hartman		Note: The individual parameter names and values are not
23c18f6365SGreg Kroah-Hartman		considered stable, only the fact that they will be
24c18f6365SGreg Kroah-Hartman		placed in this location within sysfs.  See the
25c18f6365SGreg Kroah-Hartman		individual driver documentation for details as to the
26c18f6365SGreg Kroah-Hartman		stability of the different parameters.
27c18f6365SGreg Kroah-Hartman
28c18f6365SGreg Kroah-Hartman	/sys/module/MODULENAME/refcnt
29c18f6365SGreg Kroah-Hartman		If the module is able to be unloaded from the kernel, this file
30c18f6365SGreg Kroah-Hartman		will contain the current reference count of the module.
31c18f6365SGreg Kroah-Hartman
32c18f6365SGreg Kroah-Hartman		Note: If the module is built into the kernel, or if the
33c18f6365SGreg Kroah-Hartman		CONFIG_MODULE_UNLOAD kernel configuration value is not enabled,
34c18f6365SGreg Kroah-Hartman		this file will not be present.
35