[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Oliver Finsinger <Oliver25.F@gmx.de>] (fwd)



>From owner-rtl Wed May  2 16:40:30 2001
Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100])
	by hq.fsmlabs.com (8.11.2/8.11.2) with SMTP id f42MeTJ10842
	for <rtl@rtlinux.org>; Wed, 2 May 2001 16:40:29 -0600
Received: (qmail 29773 invoked by uid 0); 2 May 2001 22:36:23 -0000
Date: Thu, 3 May 2001 00:36:23 +0200 (MEST)
From: Oliver Finsinger <Oliver25.F@gmx.de>
To: rtl@rtlinux.org
MIME-Version: 1.0
Subject: Oops-Message in executing of function "ioremap()"
X-Priority: 3 (Normal)
X-Authenticated-Sender: #0000983105@gmx.net
X-Authenticated-IP: [141.59.40.38]
Message-ID: <31048.988842983@www26.gmx.net>
X-Mailer: WWW-Mail 1.5 (Global Message Exchange)
X-Flags: 0001
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,

I try to get access to a HDLC-board in my computer.
The board has got a shared memory of 256 kByte and a lot of port register.
I've got the sourcecode of the driver for "normal"-Linux.
Now i try to rewrite my own realtime-driver and use some functions of the
"normal" driver.
I want to get the virtual address of the board with the function

       ioremap( u32 phy_base_address, u32 length )

but in the executing of this function i get an Oops-Message that says
there is a NULL-pointer.
I have prooft all used pointers and they are correct with the right
address.
I can't explain me, whey i get this message!!!

bye
Oliver Finsinger

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net