mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Martijn Uffing <mp3project@cam029208.student.utwente.nl>
Cc: linux-kernel@vger.kernel.org
Subject: [2.5 patch] Re: 2.5.63 : Compile failure in ne driver
Date: Tue, 25 Feb 2003 17:54:17 +0100	[thread overview]
Message-ID: <20030225165417.GO7685@fs.tum.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0302250013350.16352-100000@cam029208.student.utwente.nl>

On Tue, Feb 25, 2003 at 12:20:52AM +0100, Martijn Uffing wrote:

> Ave people

Hi Martijn,

> 2.5.63 won't compile for me.
> In my .config I  got PNP selected but ISAPNP not. 
> 
> This because I  have a 
> -PCI pnp sound card
> -ISA nopnp ne2000 clone network card.
> 
> Greetz Mu
> 
> make -f scripts/Makefile.build obj=drivers/net
>   gcc -Wp,-MD,drivers/net/.ne.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include    -DKBUILD_BASENAME=ne -DKBUILD_MODNAME=ne -c -o drivers/net/ne.o drivers/net/ne.c
> drivers/net/ne.c: In function `ne_probe_isapnp':
> drivers/net/ne.c:208: too many arguments to function `pnp_activate_dev'
> make[2]: *** [drivers/net/ne.o] Error 1
> make[1]: *** [drivers/net] Error 2
> make: *** [drivers] Error 2
>...

please try the following patch:

--- linux-2.5.63-notfull/drivers/net/ne.c.old	2003-02-25 17:50:25.000000000 +0100
+++ linux-2.5.63-notfull/drivers/net/ne.c	2003-02-25 17:50:41.000000000 +0100
@@ -205,7 +205,7 @@
 			/* Avoid already found cards from previous calls */
 			if (pnp_device_attach(idev) < 0)
 				continue;
-			if (pnp_activate_dev(idev, NULL) < 0) {
+			if (pnp_activate_dev(idev) < 0) {
 			      	pnp_device_detach(idev);
 			      	continue;
 			}


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2003-02-25 16:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24 23:20 Martijn Uffing
2003-02-25 16:54 ` Adrian Bunk [this message]
2003-02-26 14:50   ` [2.5 patch] " Martijn Uffing

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=20030225165417.GO7685@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mp3project@cam029208.student.utwente.nl \
    /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®