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
Copyright © 1995-1997 Red Hat Software. Legal notices