[lkml]   [2001]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] 2.4.6-ac1 fix error in drivers/parport/parport_pc.c
I got this error building 2.4.6-ac1.

drivers/parport/driver.o: In function `parport_pc_find_ports':
drivers/parport/driver.o(.text.init+0x3f2): undefined reference to `init_pnp040x'
drivers/parport/driver.o(.text.init+0x400): undefined reference to `pnpbios_find_device'
drivers/parport/driver.o(.text.init+0x412): undefined reference to `init_pnp040x'
drivers/parport/driver.o(.text.init+0x420): undefined reference to `pnpbios_find_device'
make: *** [vmlinux] Error 1

My access to lkml archives is temporarily gone ( is down
and other archive sites aren't very current), so please forgive me if someone else
has already posted this fix.

Here is a patch which may be correct. It worked for me.

--- 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 ();

+#if defined (CONFIG_PNPBIOS) || defined (CONFIG_PNPBIOS_MODULE)
while ((dev=pnpbios_find_device("PNP0400",dev)))
while ((dev=pnpbios_find_device("PNP0401",dev)))

/* 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
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 12:56    [W:0.030 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site