LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 11-24-2009, 01:33 AM   #1
ReshmiS
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
diff in kernal modules init code when build as a part of kernal and as modules?


Hi all,
What happens when the code is build as a module and not build into the kernel( i mean by giving 'm' instead of 'y' int the tristate option of the .cong). Does he initialization happens through do_basic_setup() in case of module?

Thanks in advance,
Reshmi S

Last edited by ReshmiS; 11-24-2009 at 06:03 AM. Reason: Creating a different thread for the three question posted earlier
 
Old 11-25-2009, 11:21 AM   #2
jiobo
Member
 
Registered: Nov 2008
Posts: 180

Rep: Reputation: 36
When the module option is chosen, then the driver will be built as a loadable kernel module. Then it is loadable with the "modprobe" command. When it is built into the kernel, then it is linked in to the kernel code. What where the questions you had about the differences between the two?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernal modules ? danibhai Linux - Newbie 1 10-20-2009 03:43 AM
kernal panic after update redhat enterprice 4 from kernal(2.6.9-5) to kernal(2.6.9-42 TAREK-SALAMA Linux - Enterprise 3 09-10-2006 09:07 AM
How can I disable modules without recompiling my Kernal? thorlin Suse/Novell 1 09-23-2005 07:15 AM
Kernal modules on a Newly Compiled Kernal sethgeekx86 Slackware 4 05-03-2004 11:08 PM
Compiling new drivers directly into the kernal as opposed to modules scgadgets Linux - General 2 09-23-2001 06:37 AM


All times are GMT -5. The time now is 07:41 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration