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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:16 EST