From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a80444274cfd7d3a,start X-Google-Attributes: gid111c93,public From: Michael Plass Subject: Driver Port Intel --> Alpha Date: 1999/05/17 Message-ID: <373FBBB3.8DA006F3@philosys.de>#1/1 X-Deja-AN: 478731570 Content-Transfer-Encoding: 7bit Organization: Philosys Software GmbH (http://www.philosys.de) X-Accept-Language: de, en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha 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