[Top] [All Lists]

Re: Removal of ____raw_readq() and ____raw_writeq() from asm-mips/io.h

To: Ladislav Michl <>
Subject: Re: Removal of ____raw_readq() and ____raw_writeq() from asm-mips/io.h
From: Ralf Baechle <>
Date: Wed, 28 Jan 2004 17:01:37 +0100
Cc: Jes Sorensen <>, Kevin Paul Herbert <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <1075255111.8744.4.camel@shakedown> <20040128094032.GB900@kopretinka> <> <>
User-agent: Mutt/1.4.1i
On Wed, Jan 28, 2004 at 03:08:28PM +0000, Ladislav Michl wrote:

> eh? I said nothing about PCI device. These ____raw_writeq are
> used in board specific code. Anyway, defining struct sb_registers
> and ioremaping it would be nice solution (I didn't read code too
> carefully, so maybye not in this particular case where registers
> are 64bit width, but I definitely prefer it in board specific code
> over read[bwl]/write[bwl]). Also readq/writeq seems mips specific,
> so rants about portability doesn't apply.

They're not MIPS specific; they're just not so common because some people
still believe 64-bit is something esotheric they don't need ;-)

Try grep -lw readq include/asm-*/io.h - 6 architectures implement it.


<Prev in Thread] Current Thread [Next in Thread>