Re: 2.4.6-ac1 will not build, 2.4.6 ok

Steven Cole (elenstev@mesatop.com)
Fri, 6 Jul 2001 19:00:51 -0600


On Friday 06 July 2001 16:35, Tom Diehl wrote:
> Hi all,
> This is my first bug report so please go easy on me if I screw it up.
> The kernel 2.4.6-ac1
> The build machine AMD k6-2-350 with 128Megs of memory
> I get the following errors when I try to build ac1. It builds ok when
> just building 2.4.6 with the same config file run through make old_config,
> so I guess this is some kind of problem with ac1.

I posted a patch for this a few hours after 2.4.6-ac1 became available, but
there have been problems with lkml archive servers in the interim, so here
is my patch again. If you look in drivers/parport/parport_pc.c, you'll see that
the new code is bracketed by:

#if defined (CONFIG_PNPBIOS) || defined (CONFIG_PNPBIOS_MODULE)
new stuff for 2.4.6-ac1
#endif

Steven

--- linux-2.4.6-ac1/drivers/parport/parport_pc.c.original       Wed Jul  4 15:22:28 2001
+++ linux/drivers/parport/parport_pc.c  Wed Jul  4 15:26:03 2001
@@ -2828,12 +2828,14 @@
        detect_and_report_smsc ();
 #endif
 
+#if defined (CONFIG_PNPBIOS) || defined (CONFIG_PNPBIOS_MODULE)
        dev=NULL;
        while ((dev=pnpbios_find_device("PNP0400",dev)))
                count+=init_pnp040x(dev);
        dev=NULL;
         while ((dev=pnpbios_find_device("PNP0401",dev)))
                 count+=init_pnp040x(dev);
+#endif
 
        /* Onboard SuperIO chipsets that show themselves on the PCI bus. */
        count += parport_pc_init_superio (autoirq, autodma);
-
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/