On 2/15/2024 2:01 PM, Jon Maxwell wrote:
> Linux users sometimes need an easy way to check current values of module
> parameters. For example the module may be manually reloaded with different
> parameters. Make these visible and readable in the /sys filesystem to allow
> that. But don't make the "debug" module parameter visible as debugging is
> enabled via ethtool msglvl.
>
> Signed-off-by: Jon Maxwell <[email protected]>
Makes sense. I hadn't previously looked closely at the definition of
module_param so I was a bit confused that it was this easy to enable the
parameters in sysfs. Nice.
Reviewed-by: Jacob Keller <[email protected]>