]> git.hungrycats.org Git - linux/commit
[PATCH] add readX_relaxed() interface
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:40:32 +0000 (18:40 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:40:32 +0000 (18:40 -0800)
commit50f3373747743d5ed0747a96fed658a7b0075992
tree4913262ceebd19e29030c2fbc51f1293c3a4972c
parent9829f0a5c6d450d3af44dc8ba55ab49b54e3d0b4
[PATCH] add readX_relaxed() interface

From: jbarnes@sgi.com (Jesse Barnes)

Here's the patch to add the new _relaxed variants for PIO read accesses.
It's been ack'd by gregkh and Grant Grundler, and I think it's ready to
go.

PCI ordering rules also guarantee that PIO read responses arrive after any
outstanding DMA writes on that bus, since for some devices the result of a
readb() call may signal to the driver that a DMA transaction is complete.  In
many cases, however, the driver may want to indicate that the next readb()
call has no relation to any previous DMA writes performed by the device.  The
driver can use the readb_relaxed() for these cases, although only some
platforms will honor the relaxed semantics.
25 files changed:
Documentation/DocBook/deviceiobook.tmpl
arch/ia64/sn/kernel/sn2/io.c
include/asm-alpha/io.h
include/asm-arm/arch-ebsa110/io.h
include/asm-arm/io.h
include/asm-arm26/io.h
include/asm-cris/io.h
include/asm-h8300/io.h
include/asm-i386/io.h
include/asm-ia64/io.h
include/asm-ia64/machvec.h
include/asm-ia64/machvec_sn2.h
include/asm-ia64/sn/sn2/io.h
include/asm-m68k/io.h
include/asm-m68knommu/io.h
include/asm-mips/io.h
include/asm-parisc/io.h
include/asm-ppc/io.h
include/asm-ppc64/io.h
include/asm-s390/io.h
include/asm-sh/io.h
include/asm-sparc/io.h
include/asm-sparc64/io.h
include/asm-v850/io.h
include/asm-x86_64/io.h