From: Christoph Hellwig <hch@caldera.de>
To: mshiju@in.ibm.com
Cc: linux-net@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: ISAPNP :driver not recognized when compiled in kernel
Date: Wed, 14 Mar 2001 15:24:43 +0100 [thread overview]
Message-ID: <200103141424.PAA12648@ns.caldera.de> (raw)
In-Reply-To: <CA256A0F.004A726A.00@d73mta05.au.ibm.com>
In article <CA256A0F.004A726A.00@d73mta05.au.ibm.com> you wrote:
> Hello,
> I have a basic question. Can we build a PnP ISA driver in kernel
> with ISAPNP kernel option enabled so that kernel PnP does the job of
> allocating the resources for the driver.
Yes you can. Look at drivers/sound/ad1816.c or drivers/sound/sb_card.c for
examples.
> The problem being that the
> /etc/isapnp.conf should be executed before the device driver. I tried this
> and was unsuccessful but worked fine when the driver was compiled as a
> module.
The Linux 2.4 isapnp code does _not_ use isapnp.conf.
Did you write your driver using the isapnp_ kernel APIs (Documented in
Documentation/isapnp.txt)? Or is it a plain isa driver that needs help
from the isapnp tools to work?
> I read somewhere that ISAPNP drivers with ISAPNP enabled in kernel
> should only be build as modules so that we can keep the order of execution
> . Is this true.? Have any one of you tried this .
This was true for Linux 2.2 and earlier as those did not actually support
isapnp and needed the help of the uselevel isapnp tools. Because they can
only be used after the system is up isapnp drivers for theses kernel have to
be modules.
Christoph
--
Of course it doesn't work. We've performed a software upgrade.
next prev parent reply other threads:[~2001-03-14 14:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-14 13:05 ISAPNP :driver not recognized when compiled in kernel mshiju
2001-03-14 14:22 ` Tony Nugent
2001-03-14 14:24 ` Christoph Hellwig [this message]
2001-03-14 14:33 ` Brian Gerst
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=200103141424.PAA12648@ns.caldera.de \
--to=hch@caldera.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
--cc=mshiju@in.ibm.com \
/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