Reputation: 2755
Is there a way to pass parameter to builtin kernel module while compiling the linux kernel? If yes, can you please explain how? I want to pass value for max_bonds to bonding driver which is builtin module in my kernel.
Linux kernel version - 2.6
Upvotes: 5
Views: 4898
Reputation: 6583
You can use two kernel features to accomplish this:
By using those two features, I think you get pretty much exactly what you want, without modifying any kernel source, just tweaking your config file.
Upvotes: 6
Reputation: 4509
I think it is possible by changing modules source. Each modules parameter has its default value coded in sources - just modify it.
Upvotes: 0