From: David Mosberger-Tang <davidm@AZStarNet.com>
Subject: Re: Isa card access mapping
Date: Sat, 17 Feb 1996 13:46:40 -0700 [thread overview]
Message-ID: <9622a73937ea75dd82eff41b8a23eda0.axp-list@archive.invalid> (raw)
>>>>> On Sat, 17 Feb 1996 20:59:06 +0100 (MET), Yann Doussot <doussot@via.ecp.fr> said:
Yann> As our network is Token Ring based, we try to make a
Yann> Linux Axp work with the IBM Token Ring Card. This Card works
Yann> perfectly with Linux i386. The problem we met is the address
Yann> mapping between i386 and Alpha platform. When the driver try
Yann> to access to the mmio zone it either crashes or doesn't work
Yann> (when we try to convert the address with phys_to_virt
Yann> function). What should be the right way to convert physical
Yann> addresses in the Alpha memory space ?
It's not safe to directly access memory. You'll have to change the
driver to use readb(), writeb() etc. (see include/asm-alpha/io.h).
You may also want to look at other drivers (e.g.,
drivers/char/console.c and drivers/char/selection.h).
When you get it working, please let me know so I can include it in the
FAQ.
--david
next reply other threads:[~1996-02-17 20:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-02-17 20:46 David Mosberger-Tang [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-02-17 21:21 ISA card access mapping Jay A Estabrook
1996-02-17 19:59 Isa " Yann Doussot
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox