Alternative Name

MODULE_ALIAS(alias) is used to give a module alternative names (alias) by which it can be addressed in userspace. This mechanism enables a distinction to be made between, for example, alternative drivers, when only one of the drivers can be used although externally they all implement the same functionality. It is also essential for constructing systematic names. This enables, for instance, assigning one or more alias names to a module. These aliases specify the identification numbers of all PCI devices that are supported by the module. When such a device is found in the system, the kernel can (with the help of the userspace) automatically insert the corresponding module.

Continue reading here: Elementary Version Control

Was this article helpful?

0 0