Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 26 Feb 2003 15:50:14 +0100 (CET) | From | Martijn Uffing <> | Subject | Re: [2.5 patch] Re: 2.5.63 : Compile failure in ne driver |
| |
On Tue, 25 Feb 2003, Adrian Bunk wrote:
> 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 > >
Thanx for the patch. It works and it's now in Linus' tree.
Greetz Mu
- 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/
| ![\](/images/icornerr.gif) |