Re: 2.6.7
On Thu, Jun 17, 2004 at 10:46:27AM +0200, Jens Schmalzing wrote:
> Hi,
>
> Christoph Hellwig writes:
>
> > This one can't. It readds drivers/net/tg3.[ch] after it was removed
> > from Debian's .orig.tar.gz
>
> Okay.
>
> > Looks like that's still the old one, the current patch is below:
>
> Perfect. Thanks a lot.
>
> If anybody feels like trying out the resulting kernel-source tarball,
> it can be found at
>
> <URL:http://www.theorie.physik.uni-muenchen.de/~jens/kernel-source-2.6.7.tar.bz2>
>
PNP IDE patch requires revision:
drivers/ide/ide-pnp.c: In function `pnpide_init_module':
drivers/ide/ide-pnp.c:79: error: too many arguments to function `pnpide_init'
drivers/ide/ide-pnp.c: In function `pnpide_unload':
drivers/ide/ide-pnp.c:85: error: too many arguments to function `pnpide_init'
make[3]: *** [drivers/ide/ide-pnp.o] Error 1
make[2]: *** [drivers/ide] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/users/frankie/kernel/kernel-source-2.6.7'
make: *** [stamp-build] Error 2
pnpide_init has no args indeed. AFAIK subsequent section should be removed:
--- linux-2.6.7/drivers/ide/ide-pnp.c 2004-06-16 07:19:37.000000000 +0200
+++ kernel-source-2.6.7/drivers/ide/ide-pnp.c 2004-06-17 10:40:23.000000000 +0200
@@ -73,3 +73,21 @@
{
pnp_register_driver(&idepnp_driver);
}
+
+static int pnpide_init_module(void)
+{
+ pnpide_init(1);
+ return 0;
+}
+
+static void pnpide_unload(void)
+{
+ pnpide_init(0);
+}
+
+module_init(pnpide_init_module);
+module_exit(pnpide_unload);
+
+MODULE_AUTHOR("Andrey Panin");
+MODULE_DESCRIPTION("Enabler for ISAPNP IDE devices");
+MODULE_LICENSE("GPL");
--
Francesco P. Lovergine
Reply to:
- Follow-Ups:
- Re: 2.6.7
- From: Christoph Hellwig <hch@lst.de>
- References:
- 2.6.7
- From: Jens Schmalzing <j.s@lmu.de>
- Re: 2.6.7
- From: Christoph Hellwig <hch@lst.de>
- Re: 2.6.7
- From: Jens Schmalzing <j.s@lmu.de>
- Re: 2.6.7
- From: Christoph Hellwig <hch@lst.de>
- Re: 2.6.7
- From: Jens Schmalzing <j.s@lmu.de>