From: Steven Cole <elenstev@mesatop.com>
To: alan@lxorguk.ukuu.org.uk
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.4.6-ac1 fix error in drivers/parport/parport_pc.c
Date: Wed, 4 Jul 2001 16:20:02 -0600 [thread overview]
Message-ID: <01070416200200.01208@localhost.localdomain> (raw)
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 (marc.theaimsgroup.com 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.
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);
reply other threads:[~2001-07-04 22:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=01070416200200.01208@localhost.localdomain \
--to=elenstev@mesatop.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/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