mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: yh@bizmail.com.au
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel 2.6 config for module load
Date: Sun, 2 Jul 2006 09:12:42 -0700	[thread overview]
Message-ID: <20060702091242.f2b9fd4b.rdunlap@xenotime.net> (raw)
In-Reply-To: <44A7B3C2.5030208@bizmail.com.au>

On Sun, 02 Jul 2006 21:53:38 +1000 Jim wrote:

> Hello,
> 
> I have a device driver which can be configurated in kernel 2.4 to be a 
> loadable module. But, in kernel 2.6, I made it as tristate in Kconfig. 
> On make menuconfig list, I can only select it to [*]NewModule for kernel 
> built-in, I cannot select it to [M]NewModule for loadable module 
> (neither did I press key M or Space key produce [M]). Is it wrong to 
> specify tristate in Kconfig to make a loadable module in kernel 2.6? Or 
> what was I missing in kernel 2.6 config?

Tristate is OK.  Of course, you will also need
CONFIG_MODULES=y
to enable module support.  Is that enabled?

There are a few hundred examples of tristate loadable modules
in Kconfig files that you could look at.

---
~Randy

      reply	other threads:[~2006-07-02 16:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-02 11:53 Jim
2006-07-02 16:12 ` Randy.Dunlap [this message]

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=20060702091242.f2b9fd4b.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yh@bizmail.com.au \
    /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®