public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: Rolf Eike Beer <eike-kernel@sf-tec.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ioread64()?
Date: Thu, 07 Sep 2006 17:23:27 -0600	[thread overview]
Message-ID: <4500A9EF.40807@shaw.ca> (raw)
In-Reply-To: <fa.zgAWvZQAAp+6nKV9Kd93QR7HZHw@ifi.uio.no>

Rolf Eike Beer wrote:
> Hi,
> 
> I'm looking for a way to access 64 or 128 bit of device space in a single 
> access. For smaller accesses I use ioread32() and friends. But which way 
> should I do it for the next bigger accesses? Casting the iospace to something 
> like u64* looks very suspicious to me. Any better ideas?
> 
> Greetings,
> 
> Eike

There's no portable way to do this as far as I'm aware, for the likely 
reason that on many architectures it's impossible to do it in one access..

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/


       reply	other threads:[~2006-09-07 23:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.zgAWvZQAAp+6nKV9Kd93QR7HZHw@ifi.uio.no>
2006-09-07 23:23 ` Robert Hancock [this message]
2006-09-13 20:34   ` ioread64()? Arnd Bergmann
2006-09-07 14:41 ioread64()? Rolf Eike Beer

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=4500A9EF.40807@shaw.ca \
    --to=hancockr@shaw.ca \
    --cc=eike-kernel@sf-tec.de \
    --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