]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sparc32: add offset in pci_map_sg()
authorJan Andersson <jan.andersson@ieee.org>
Sat, 30 Dec 2006 00:50:04 +0000 (16:50 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 30 Dec 2006 18:56:45 +0000 (10:56 -0800)
commitcebffd2c3b4760ef6ffb37e6484d36bf1637dd38
treec48a4edb6d8a7fe22e3515651b6cf6bd6f0784cd
parentef0c8b183ef8e9602efda3beb21b84e012bf6193
[PATCH] sparc32: add offset in pci_map_sg()

Add sg->offset to sg->dvma_address in pci_map_sg() on sparc32.  Without the
offset, transfers to buffers that do not begin on a page boundary will not
work as expected.

Signed-off-by: Jan Andersson <jan.andersson@ieee.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc/kernel/ioport.c