From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9622a73937ea75dd82eff41b8a23eda0.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199602172046.NAA02313@koala.azstarnet.com> Date: Sat, 17 Feb 1996 13:46:40 -0700 From: David Mosberger-Tang Subject: Re: Isa card access mapping >>>>> On Sat, 17 Feb 1996 20:59:06 +0100 (MET), Yann Doussot 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