]> err.no Git - linux-2.6/commit
[PATCH] m68k: fix PIO case in esp
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 12 Jan 2006 09:06:40 +0000 (01:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 17:09:05 +0000 (09:09 -0800)
commit3c9757b7c28161e073e7f408978b7ed01925924c
treebcaa65fc847c5053453645a6e0e19c5f3581f0f3
parented1705afb93409a3e345d653be9d263984aa5c1b
[PATCH] m68k: fix PIO case in esp

we always set ->SCp.ptr to physical address of buffer; for DMA that's
just what we need, but we end up using it as virtual address in PIO
case of esp_do_data(), with obvious breakage as soon as memory mapping
becomes non-trivial.  The fix is obvious.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/NCR53C9x.c