Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Michael Plass <Michael.Plass@philosys.de>
Subject: Driver Port Intel --> Alpha
Date: 1999/05/17	[thread overview]
Message-ID: <373FBBB3.8DA006F3@philosys.de> (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






                 reply	other threads:[~1999-05-17  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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