Re: Module option for compiled-in parts

From: randy_dunlap
Date: Sat Jul 16 2005 - 11:19:31 EST


On Sat, 16 Jul 2005 10:45:17 +0200 (MEST) Jan Engelhardt wrote:

> Hi,
>
>
> I have added a module_param() to a component that is compiled in
> (drivers/char/vt.c). Since it's not a module, will it still show a
> /sys/module/WhatGoesHere/parameters/myvariablename file? What will be put as
> "WhatGoesHere" as vt.c does not become vt.ko?

Interesting question.

Are you adding one/some module parameters to vt.c ?
I don't see any there.


I have usbcore built-in (not a loadable module), and I still see
in /sys/module/usbcore/parameters these files:

blinkenlights
old_scheme_first
usbfs_snoop
use_both_schemes

but usbcore is "defined" as containing a list of .o files
in drivers/usb/core/Makefile.

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/