]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] sparc32: add offset in pci_map_sg()
authorJan Andersson <jan.andersson@ieee.org>
Tue, 2 Jan 2007 08:09:25 +0000 (00:09 -0800)
committerChris Wright <chrisw@sous-sol.org>
Wed, 10 Jan 2007 19:05:21 +0000 (11:05 -0800)
commit4a213fb9c3aa28047a7a8ec78999878feb71a17b
treeec5c2870a88d4e61869f7bda01d484c97eb49ec2
parent6aa513624c75f67c22f3ae094644dd458bdc0204
[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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/sparc/kernel/ioport.c