Bill
2008-02-04 01:19:56 UTC
Is it possible for a Linux device driver to read a variable put into a
configuration file, e.g., modules.conf, when it is loaded? If so
how? What is the syntax in the configuration file and what is the
syntax in the driver? This variable would be created specifically for
this driver.
I have seen documentation that hinted at a Linux device driver reading
a configuration file, but I have not found an example as to how to
actually do it in the configuration file and in the driver.
I am running Linux 2.4.26 on an MPC8248.
configuration file, e.g., modules.conf, when it is loaded? If so
how? What is the syntax in the configuration file and what is the
syntax in the driver? This variable would be created specifically for
this driver.
I have seen documentation that hinted at a Linux device driver reading
a configuration file, but I have not found an example as to how to
actually do it in the configuration file and in the driver.
I am running Linux 2.4.26 on an MPC8248.