From: Brian Gerst <bgerst@didntduck.org>
To: Svein Erling Seldal <Svein.Seldal@edcom.no>
Cc: linux-kernel@vger.kernel.org
Subject: Re: readw() access
Date: Wed, 01 Aug 2001 16:44:15 -0400 [thread overview]
Message-ID: <3B686A1F.B2409245@didntduck.org> (raw)
In-Reply-To: <NEBBLKFNEDOFBCDCJMLKCEAKCEAA.Svein.Seldal@edcom.no>
Svein Erling Seldal wrote:
>
> Hello,
>
> I'm trying to port a driver from 2.2.x to 2.4.x where I previously has used
> readw() to read the contents of the memory-adresses 0x408-0x40c (Where the
> BIOS gives you the adr. for the par-ports.) But on 2.4.x readw(0x408) Oops:
>
> "Unable to handle kernel NULL pointer dereference at virtual address
> 00000408"
>
> How do you read a memory-address like this?
>
> Svein Erling Seldal
Use isa_readw() or ioremap().
--
Brian Gerst
prev parent reply other threads:[~2001-08-01 20:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-01 20:33 readw() access Svein Erling Seldal
2001-08-01 20:44 ` Brian Gerst [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B686A1F.B2409245@didntduck.org \
--to=bgerst@didntduck.org \
--cc=Svein.Seldal@edcom.no \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox