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. Ralf