lkml.org 
[lkml]   [2008]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Help writing kernel module...
what about if I want to determine if a module is loaded?

On Thu, Aug 14, 2008 at 2:02 PM, Lennart Sorensen
<lsorense@csclub.uwaterloo.ca> wrote:
> On Thu, Aug 14, 2008 at 02:00:26PM -0400, Ryan Hope wrote:
>> I can't find any information on how to make a kernel module load
>> another module. Can someone please tell me how to do this? Thanks in
>> advance.
>
> Use a symbol exported by that other module and your module should
> automatically depend on that module and modprobe will nicely load it
> before your module for you.
>
> --
> Len Sorensen
>


\
 
 \ /
  Last update: 2008-08-14 21:05    [W:0.030 / U:1.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site