Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Driver Port Intel --> Alpha
@ 1999-05-17  4:00 Michael Plass
  0 siblings, 0 replies; only message in thread
From: Michael Plass @ 1999-05-17  4:00 UTC (permalink / raw)


I want to port a driver working on Intel-Linux to run on Alpha-Linux (bot
version 2.0.36). I map the physical memory of the card in the virtual
address space of the alpha processor using vremap(). If I try to access the
memory I can not read valid data. Does anybody have an idea what could go
wrong ('baddr' is aligned to a page boundary) ?


base =(unsigned char *)vremap(baddr, range);
printk("data at %p=%02x\n", baddr, *base);    // <-- does not work

Thanks,
Michael

--
Michael Plass               mailto:plass@philosys.de
PHILOSYS Software GmbH      http://www.philosys.de/
Edisonstr. 6                phone: +49 (0)89 / 321 407-21
85716 Unterschleissheim     fax:   +49 (0)89 / 321 407-12






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-05-17  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-17  4:00 Driver Port Intel --> Alpha Michael Plass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox