From: Jakub Bogusz <qboosh@pld-linux.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH?] 2.6.3 - unresolved isa_* symbols on alpha
Date: Wed, 25 Feb 2004 15:29:14 +0100 [thread overview]
Message-ID: <20040225142914.GL16814@gruby.cs.net.pl> (raw)
[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]
On alpha CONFIG_ISA is set (to y), but isa_virt_to_bus, isa_page_to_bus,
isa_bus_to_virt are not defined, which results in the following
unresolved symbols:
*** Warning: "isa_virt_to_bus" [drivers/scsi/wd7000.ko] undefined!
*** Warning: "isa_page_to_bus" [drivers/scsi/wd7000.ko] undefined!
*** Warning: "isa_bus_to_virt" [drivers/scsi/wd7000.ko] undefined!
*** Warning: "isa_virt_to_bus" [drivers/char/tpqic02.ko] undefined!
*** Warning: "isa_virt_to_bus" [drivers/char/synclink.ko] undefined!
*** Warning: "isa_bus_to_virt" [drivers/net/ni65.ko] undefined!
*** Warning: "isa_virt_to_bus" [drivers/net/ni65.ko] undefined!
*** Warning: "isa_bus_to_virt" [drivers/net/ni52.ko] undefined!
*** Warning: "isa_virt_to_bus" [net/irda/irda.ko] undefined!
*** Warning: "isa_virt_to_bus" [drivers/net/cs89x0.ko] undefined!
*** Warning: "isa_bus_to_virt" [drivers/net/3c515.ko] undefined!
*** Warning: "isa_virt_to_bus" [drivers/net/3c515.ko] undefined!
*** Warning: "isa_virt_to_bus" [drivers/net/3c505.ko] undefined!
Because virt_to_bus, page_to_bus, bus_to_virt are defined in
asm-alpha/io.h, I copied three defines from asm-i386/io.h - I'm not sure
if it's correct (and should it be in __KERNEL__ or outside __KERNEL__
part), but at least it avoids these unresolved symbols.
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
PLD Team http://www.pld-linux.org/
[-- Attachment #2: linux-alpha-isa.patch --]
[-- Type: text/plain, Size: 529 bytes --]
--- linux-2.6.3/include/asm-alpha/io.h.orig 2004-02-18 04:59:27.000000000 +0100
+++ linux-2.6.3/include/asm-alpha/io.h 2004-02-25 13:42:10.000000000 +0100
@@ -131,6 +131,15 @@
#endif /* !__KERNEL__ */
/*
+ * taken from asm-i386
+ * ("ISA I/O bus memory addresses are 1:1 with the physical address")
+ * is it correct?
+ */
+#define isa_virt_to_bus virt_to_phys
+#define isa_page_to_bus page_to_phys
+#define isa_bus_to_virt phys_to_virt
+
+/*
* There are different chipsets to interface the Alpha CPUs to the world.
*/
reply other threads:[~2004-02-25 14:29 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=20040225142914.GL16814@gruby.cs.net.pl \
--to=qboosh@pld-linux.org \
--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
all inboxes | Powered by JetHome®