Skip to contentSkip to conversation

2.4.5-ac12: 3c590.c: Warning about 'nopnp' parameter

DISCUSSION Dieter Nützel 2 participants 3 messages Jun 11, 2001 Network drivers

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 2 lines · On Mon, 11 Jun 2001 04:35:42 +0200, Dieter =?iso-8859-1?q?N=FCtzel?=…

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

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) renamed from 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) +2 -0
@@ -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)
#2 lore raw

Am Montag, 11. Juni 2001 06:48 schrieb Keith Owens:

Quoted 23 lines

On Mon, 11 Jun 2001 04:35:42 +0200,

Quoted 2 lines · Dieter =?iso-8859-1?q?N=FCtzel?= <[email protected]> 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 */

Quoted 2 lines

int
init_module(void)

It calmed it.

Thanks,
Dieter