From: "Ryan Hope" <rmh3093@gmail.com>
To: "Lennart Sorensen" <lsorense@csclub.uwaterloo.ca>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Help writing kernel module...
Date: Thu, 14 Aug 2008 15:01:56 -0400 [thread overview]
Message-ID: <48f7fe350808141201y24669c8foee0bea867fe612b3@mail.gmail.com> (raw)
In-Reply-To: <20080814180207.GC12476@csclub.uwaterloo.ca>
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
>
next prev parent reply other threads:[~2008-08-14 19:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-14 18:00 Ryan Hope
2008-08-14 18:02 ` Lennart Sorensen
2008-08-14 19:01 ` Ryan Hope [this message]
2008-08-14 19:44 ` Lennart Sorensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48f7fe350808141201y24669c8foee0bea867fe612b3@mail.gmail.com \
--to=rmh3093@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lsorense@csclub.uwaterloo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®