linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.5-ac12: 3c590.c: Warning about 'nopnp' parameter
@ 2001-06-11  2:35 Dieter Nützel
  2001-06-11  4:48 ` Keith Owens
  0 siblings, 1 reply; 3+ messages in thread
From: Dieter Nützel @ 2001-06-11  2:35 UTC (permalink / raw)
  To: Linux Kernel List

Taken from boot.msg:

Setting up network device eth1
insmod: Warning: /lib/modules/2.4.5-ac12/kernel/drivers/net/3c509.o symbol 
for parameter nopnp not found
 done

I've tried with and without ISA PNP support.

Any hints?

Thanks,
	Dieter

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.5-ac12: 3c590.c: Warning about 'nopnp' parameter
  2001-06-11  2:35 2.4.5-ac12: 3c590.c: Warning about 'nopnp' parameter Dieter Nützel
@ 2001-06-11  4:48 ` Keith Owens
  2001-06-12  0:02   ` Dieter Nützel
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Owens @ 2001-06-11  4:48 UTC (permalink / raw)
  To: Dieter Nützel; +Cc: Linux Kernel List

On Mon, 11 Jun 2001 04:35:42 +0200, 
Dieter =?iso-8859-1?q?N=FCtzel?= <Dieter.Nuetzel@hamburg.de> wrote:
>insmod: Warning: /lib/modules/2.4.5-ac12/kernel/drivers/net/3c509.o symbol 
>for parameter nopnp not found

MODULE_PARM(nopnp) is in open code but the declaration of nopnp is
wrapped in #ifdef CONFIG_ISAPNP.  The module parm needs to be wrapped
in #ifdef CONFIG_ISAPNP as well.  Against 2.4.5-ac13.

Index: 5.35/drivers/net/3c509.c
--- 5.35/drivers/net/3c509.c Sat, 09 Jun 2001 17:17:16 +1000 kaos (linux-2.4/l/c/31_3c509.c 1.2.1.6 644)
+++ 5.35(w)/drivers/net/3c509.c Mon, 11 Jun 2001 14:47:01 +1000 kaos (linux-2.4/l/c/31_3c509.c 1.2.1.6 644)
@@ -1014,8 +1014,10 @@ MODULE_PARM_DESC(debug, "EtherLink III d
 MODULE_PARM_DESC(irq, "EtherLink III IRQ number(s) (assigned)");
 MODULE_PARM_DESC(xcvr,"EtherLink III tranceiver(s) (0=internal, 1=external)");
 MODULE_PARM_DESC(max_interrupt_work, "EtherLink III maximum events handled per interrupt");
+#ifdef CONFIG_ISAPNP
 MODULE_PARM(nopnp, "i");
 MODULE_PARM_DESC(nopnp, "EtherLink III disable ISA PnP support (0-1)");
+#endif	/* CONFIG_ISAPNP */
 
 int
 init_module(void)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.5-ac12: 3c590.c: Warning about 'nopnp' parameter
  2001-06-11  4:48 ` Keith Owens
@ 2001-06-12  0:02   ` Dieter Nützel
  0 siblings, 0 replies; 3+ messages in thread
From: Dieter Nützel @ 2001-06-12  0:02 UTC (permalink / raw)
  To: Keith Owens; +Cc: Linux Kernel List

Am Montag, 11. Juni 2001 06:48 schrieb Keith Owens:
> On Mon, 11 Jun 2001 04:35:42 +0200,
>
> Dieter =?iso-8859-1?q?N=FCtzel?= <Dieter.Nuetzel@hamburg.de> wrote:
> >insmod: Warning: /lib/modules/2.4.5-ac12/kernel/drivers/net/3c509.o symbol
> >for parameter nopnp not found
>
> MODULE_PARM(nopnp) is in open code but the declaration of nopnp is
> wrapped in #ifdef CONFIG_ISAPNP.  The module parm needs to be wrapped
> in #ifdef CONFIG_ISAPNP as well.  Against 2.4.5-ac13.
>
> Index: 5.35/drivers/net/3c509.c
> --- 5.35/drivers/net/3c509.c Sat, 09 Jun 2001 17:17:16 +1000 kaos
> (linux-2.4/l/c/31_3c509.c 1.2.1.6 644) +++ 5.35(w)/drivers/net/3c509.c Mon,
> 11 Jun 2001 14:47:01 +1000 kaos (linux-2.4/l/c/31_3c509.c 1.2.1.6 644) @@
> -1014,8 +1014,10 @@ MODULE_PARM_DESC(debug, "EtherLink III d
>  MODULE_PARM_DESC(irq, "EtherLink III IRQ number(s) (assigned)");
>  MODULE_PARM_DESC(xcvr,"EtherLink III tranceiver(s) (0=internal,
> 1=external)"); MODULE_PARM_DESC(max_interrupt_work, "EtherLink III maximum
> events handled per interrupt"); +#ifdef CONFIG_ISAPNP
>  MODULE_PARM(nopnp, "i");
>  MODULE_PARM_DESC(nopnp, "EtherLink III disable ISA PnP support (0-1)");
> +#endif	/* CONFIG_ISAPNP */
>
>  int
>  init_module(void)

It calmed it.

Thanks,
	Dieter

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-11 23:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-11  2:35 2.4.5-ac12: 3c590.c: Warning about 'nopnp' parameter Dieter Nützel
2001-06-11  4:48 ` Keith Owens
2001-06-12  0:02   ` Dieter Nützel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).